diff options
| -rw-r--r-- | src/model/misc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/misc.rs b/src/model/misc.rs index 50a5ff2..3195c55 100644 --- a/src/model/misc.rs +++ b/src/model/misc.rs @@ -38,7 +38,7 @@ impl Mentionable for Channel { impl Mentionable for ChannelCategory { fn mention(&self) -> String { - format!("#{}", self.name) + format!("<#{}>", self.name) } } @@ -54,7 +54,7 @@ impl Mentionable for Emoji { impl Mentionable for Group { fn mention(&self) -> String { - format!("<#{}", self.channel_id.0) + format!("<#{}>", self.channel_id.0) } } |