aboutsummaryrefslogtreecommitdiff
path: root/src/model/mod.rs
diff options
context:
space:
mode:
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.