aboutsummaryrefslogtreecommitdiff
path: root/src/model/mod.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-25 20:06:47 -0800
committerAustin Hellyer <[email protected]>2016-11-25 20:06:47 -0800
commitadde653dc4797faf8094816da46f8e4430b33c98 (patch)
tree229acc0e3d130bb44d53f09fef0716f2c16915af /src/model/mod.rs
parentFix permission check on Message::delete (diff)
downloadserenity-adde653dc4797faf8094816da46f8e4430b33c98.tar.xz
serenity-adde653dc4797faf8094816da46f8e4430b33c98.zip
Rename PublicChannel to GuildChannel
Diffstat (limited to 'src/model/mod.rs')
-rw-r--r--src/model/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs
index 880be42..5d1540b 100644
--- a/src/model/mod.rs
+++ b/src/model/mod.rs
@@ -124,15 +124,15 @@ id! {
pub enum Channel {
/// A group. A group comprises of only one channel.
Group(Group),
- /// A private channel to another [`User`]. No other users may access the
- /// channel. For multi-user "private channels", use a group.
- Private(PrivateChannel),
/// A [text] or [voice] channel within a [`Guild`].
///
/// [`Guild`]: struct.Guild.html
/// [text]: enum.ChannelType.html#variant.Text
/// [voice]: enum.ChannelType.html#variant.Voice
- Public(PublicChannel),
+ Guild(GuildChannel),
+ /// A private channel to another [`User`]. No other users may access the
+ /// channel. For multi-user "private channels", use a group.
+ Private(PrivateChannel),
}
/// A container for guilds.