Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyla Hellyer committed Jul 15, 2018
1 parent 8a7bf57 commit 5abc7d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl Mentionable for Channel {

impl Mentionable for ChannelCategory {
fn mention(&self) -> String {
format!("#{}", self.name)
format!("<#{}>", self.name)
}
}

Expand All @@ -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)
}
}

Expand Down

0 comments on commit 5abc7d1

Please sign in to comment.