diff --git a/src/model/guild/emoji.rs b/src/model/guild/emoji.rs index db23f8334b4..e0b9a99193c 100644 --- a/src/model/guild/emoji.rs +++ b/src/model/guild/emoji.rs @@ -221,9 +221,14 @@ impl Display for Emoji { /// Formats the emoji into a string that will cause Discord clients to /// render the emoji. /// - /// This is in the format of: `<:NAME:EMOJI_ID>`. + /// This is in the format of either `<:NAME:EMOJI_ID>` for normal emojis, + /// or `` for animated emojis. fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { - f.write_str("<:")?; + if self.animated { + f.write_str("