From 01980ce69257312a511997c1f2258c73780b247d Mon Sep 17 00:00:00 2001 From: Matthew Watt Date: Wed, 17 Mar 2021 21:48:13 +0000 Subject: [PATCH] Updated cast type for interaction options --- nyxx.interactions/lib/src/models/InteractionOption.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {