From eab729de11c30b8910343608203e2dc78510acea Mon Sep 17 00:00:00 2001 From: Szymon Uglis Date: Fri, 12 Mar 2021 18:45:16 +0100 Subject: [PATCH] Commander build fix --- nyxx.commander/test/commander-test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nyxx.commander/test/commander-test.dart b/nyxx.commander/test/commander-test.dart index 05211e17..9fdacb40 100644 --- a/nyxx.commander/test/commander-test.dart +++ b/nyxx.commander/test/commander-test.dart @@ -5,7 +5,7 @@ import "package:nyxx/nyxx.dart"; import "package:nyxx_commander/commander.dart"; void main() { - final bot = Nyxx(Platform.environment["TEST_TOKEN"]!, GatewayIntents.guilds | GatewayIntents.guildMessages, ignoreExceptions: false); + final bot = Nyxx(Platform.environment["TEST_TOKEN"]!, GatewayIntents.allUnprivileged, ignoreExceptions: false); bot.onMessageReceived.listen((event) async { if (event.message.content == "Test 1") {