Skip to content

Commit

Permalink
Merge pull request #242 from nyxx-discord/dev
Browse files Browse the repository at this point in the history
Release 2.1.2
  • Loading branch information
l7ssha authored Nov 15, 2021
2 parents d5131a2 + ad20c9d commit 24704fd
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
key: ${{ runner.os }}

- name: Setup Dart Action
uses: cedx/[email protected]
with:
release-channel: stable
uses: dart-lang/setup-dart@v1

- name: Checkout
uses: actions/[email protected]
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:
key: ${{ runner.os }}

- name: Setup Dart Action
uses: cedx/[email protected]
with:
release-channel: stable
uses: dart-lang/setup-dart@v1

- name: Checkout
uses: actions/[email protected]
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
key: ${{ runner.os }}

- name: Setup Dart Action
uses: cedx/[email protected]
with:
release-channel: stable
uses: dart-lang/setup-dart@v1

- name: Checkout
uses: actions/[email protected]
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.1.2
__15.11.2021__

- Fix #240

## 2.1.1
__02.11.2021__

Expand Down
2 changes: 1 addition & 1 deletion lib/src/internal/Constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Constants {
static const int apiVersion = 9;

/// Version of Nyxx
static const String version = "2.1.1";
static const String version = "2.1.2";

/// Url to Nyxx repo
static const String repoUrl = "https://github.com/nyxx-discord/nyxx";
Expand Down
2 changes: 1 addition & 1 deletion lib/src/internal/_HttpEndpoints.dart
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ class _HttpEndpoints implements IHttpEndpoints {
Future<void> guildKick(Snowflake guildId, Snowflake userId,
{String? auditReason}) async =>
_httpClient._execute(BasicRequest._new("/guilds/$guildId/members/$userId",
method: "DELTE", auditLog: auditReason));
method: "DELETE", auditLog: auditReason));

@override
Future<void> guildUnban(Snowflake guildId, Snowflake userId) async =>
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: 2.1.1
version: 2.1.2
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 24704fd

Please sign in to comment.