Build fix - use older version of nyxx; Fix typing error in interactions

This commit is contained in:
Szymon Uglis 2021-03-21 16:58:15 +01:00 committed by Szymon Uglis
parent 01980ce692
commit 3f4ceba4b8
No known key found for this signature in database
GPG key ID: 112376C5BEE91FE2
4 changed files with 4 additions and 4 deletions

View file

@ -12,4 +12,4 @@ environment:
dependencies:
http: "^0.13.0"
logging: "^1.0.0"
nyxx: "^1.1.0-dev.3"
nyxx: "1.1.0-dev.4"

View file

@ -11,4 +11,4 @@ environment:
dependencies:
http: "^0.13.0"
nyxx: "^1.1.0-dev.3"
nyxx: "1.1.0-dev.4"

View file

@ -23,7 +23,7 @@ class InteractionOption {
this.type = CommandArgType(raw["type"] as int);
if (raw["options"] != null) {
this.args = (raw["options"] as List<dynamic>).map((e) => InteractionOption._new(e));
this.args = (raw["options"] as List<dynamic>).map((e) => InteractionOption._new(e as Map<String, dynamic>));
}
if (raw["choices"] != null) {

View file

@ -11,4 +11,4 @@ environment:
dependencies:
logging: "^1.0.0"
nyxx: "^1.1.0-dev.3"
nyxx: "1.1.0-dev.4"