Skip to content

Commit

Permalink
bug: Fixup invalid formatting of emoji in BaseGuildEmoji.formatForMes…
Browse files Browse the repository at this point in the history
…sage (#286)
  • Loading branch information
l7ssha authored Jan 10, 2022
1 parent 131bc1c commit 8f692ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/core/message/guild_emoji.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ abstract class BaseGuildEmoji extends SnowflakeEntity implements IBaseGuildEmoji
BaseGuildEmoji(RawApiMap raw) : super(Snowflake(raw["id"]));

@override
String formatForMessage() => "<:$id>";
String formatForMessage() => "<:nyxx:$id>";

@override
String encodeForAPI() => id.toString();
Expand Down

0 comments on commit 8f692ad

Please sign in to comment.