diff --git a/nyxx.interactions/lib/src/models/InteractionOption.dart b/nyxx.interactions/lib/src/models/InteractionOption.dart index 2c81a6cb..362a08f4 100644 --- a/nyxx.interactions/lib/src/models/InteractionOption.dart +++ b/nyxx.interactions/lib/src/models/InteractionOption.dart @@ -23,7 +23,7 @@ class InteractionOption { this.type = CommandArgType(raw["type"] as int); if (raw["options"] != null) { - this.args = (raw["options"] as List>).map((e) => InteractionOption._new(e)); + this.args = (raw["options"] as List).map((e) => InteractionOption._new(e)); } if (raw["choices"] != null) {