Fixed some remaining changes from the transition to Slash commands

This commit is contained in:
ION606
2022-10-06 12:41:15 -04:00
parent b30fdc9e7f
commit d69e7e0479
12 changed files with 151 additions and 23 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ async function handle_interaction(interaction, mongouri, turnManager, bot, STATE
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);
tuto.execute(interaction, null, null, bot);
} //Button else ifs here
});
}