Build fix - use older version of nyxx; Fix typing error in interactions
This commit is contained in:
parent
01980ce692
commit
3f4ceba4b8
|
@ -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"
|
||||
|
|
|
@ -11,4 +11,4 @@ environment:
|
|||
|
||||
dependencies:
|
||||
http: "^0.13.0"
|
||||
nyxx: "^1.1.0-dev.3"
|
||||
nyxx: "1.1.0-dev.4"
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -11,4 +11,4 @@ environment:
|
|||
|
||||
dependencies:
|
||||
logging: "^1.0.0"
|
||||
nyxx: "^1.1.0-dev.3"
|
||||
nyxx: "1.1.0-dev.4"
|
||||
|
|
Loading…
Reference in a new issue