diff --git a/CHANGELOG.md b/CHANGELOG.md index 4882de487..c9f0e0cff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 3.2.3 +__10.01.2022__ + +- Fixup invalid formatting of emoji in BaseGuildEmoji.formatForMessage (#286) + ## 3.2.2 __08.01.2022__ diff --git a/lib/src/core/message/guild_emoji.dart b/lib/src/core/message/guild_emoji.dart index 07913b2db..66d834d24 100644 --- a/lib/src/core/message/guild_emoji.dart +++ b/lib/src/core/message/guild_emoji.dart @@ -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(); diff --git a/lib/src/internal/constants.dart b/lib/src/internal/constants.dart index 474132cf6..712affdf3 100644 --- a/lib/src/internal/constants.dart +++ b/lib/src/internal/constants.dart @@ -33,7 +33,7 @@ class Constants { static const int apiVersion = 9; /// Version of Nyxx - static const String version = "3.2.2"; + static const String version = "3.2.3"; /// Url to Nyxx repo static const String repoUrl = "https://github.com/nyxx-discord/nyxx"; diff --git a/pubspec.yaml b/pubspec.yaml index b1175c75c..e94e482b9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: nyxx -version: 3.2.2 +version: 3.2.3 description: A Discord library for Dart. Simple, robust framework for creating discord bots for Dart language. homepage: https://github.com/nyxx-discord/nyxx repository: https://github.com/nyxx-discord/nyxx