Skip to content

Commit

Permalink
Merge pull request #379 from nyxx-discord/dev
Browse files Browse the repository at this point in the history
Release 4.1.1
  • Loading branch information
l7ssha authored Oct 23, 2022
2 parents 4eec4a8 + f4513f5 commit 541bd7a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,15 @@ jobs:
env:
TAG: ${{steps.publish.outputs.package}}-${{steps.publish.outputs.localVersion}}
GITHUB_TOKEN: ${{ secrets.TAG_RELEASE_TOKEN }}

- name: 'Create Release'
if: steps.publish.outputs.success
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TAG_RELEASE_TOKEN }}
with:
tag_name: ${{steps.publish.outputs.package}}-${{steps.publish.outputs.localVersion}}
release_name: ${{steps.publish.outputs.localVersion}}
body: See CHANGELOG.md for the changes in this version.
draft: false
prerelease: false
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 4.1.1
__23.10.2022__

- bug: Fix deserialize the emoji id of the forum tag (#378)

## 4.1.0
__25.09.2022__

Expand Down
2 changes: 1 addition & 1 deletion lib/src/core/channel/guild/forum/forum_tag.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ForumTag implements IForumTag {
ForumTag(RawApiMap raw) {
id = Snowflake(raw['id']);
name = raw['string'] as String?;
emojiId = raw['emoji_id'] != 0 ? Snowflake(raw['emoji_id']) : null;
emojiId = raw['emoji_id'] != null ? Snowflake(raw['emoji_id']) : null;
emojiName = raw['emoji_name'] as String?;
}
}
2 changes: 1 addition & 1 deletion lib/src/internal/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Constants {
static const int apiVersion = 10;

/// Version of Nyxx
static const String version = "4.1.0";
static const String version = "4.1.1";

/// Url to Nyxx repo
static const String repoUrl = "https://github.com/nyxx-discord/nyxx";
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: nyxx
version: 4.1.0
version: 4.1.1
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
Expand Down

0 comments on commit 541bd7a

Please sign in to comment.