Added the 'poll' and 'code/repo' commands, as well as added single/multiplayer functionality to 'Minesweeper'

This commit is contained in:
ION606
2022-09-06 15:29:48 -04:00
parent af8f9f69ae
commit 27fecfffcb
8 changed files with 152 additions and 10 deletions
+3
View File
@@ -88,6 +88,9 @@ async function handle_interaction(interaction, mongouri, turnManager, bot, STATE
tuto.postEmbd(bot, interaction, page, true);
} else if (interaction.customId.indexOf("mswpr|") != -1) {
mswpr.handle(bot, interaction, interaction.channel, interaction.message, null, xp_collection);
} else if (interaction.customId.indexOf("sbtutorial") != -1) {
interaction.deferUpdate();
tuto.execute(interaction.message, null, null, null, bot);
} //Button else ifs here
});
}