aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-14 20:12:54 -0700
committerZeyla Hellyer <[email protected]>2018-07-14 20:12:54 -0700
commit5abc7d1d7fe7130e73e4848c6333627d9881cb9e (patch)
treefdb55962d4cfd6a773be2eb7ebfcea4e86d9455c /src
parentAbstract impls in Channel's Mentionable impl (diff)
downloadserenity-5abc7d1d7fe7130e73e4848c6333627d9881cb9e.tar.xz
serenity-5abc7d1d7fe7130e73e4848c6333627d9881cb9e.zip
typos
Diffstat (limited to 'src')
-rw-r--r--src/model/misc.rs4
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)
}
}