|
|
|
|
@ -139,6 +139,7 @@ client.on('interactionCreate', async interaction => {
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case Discord.InteractionType.ModalSubmit:
|
|
|
|
|
console.log(JSON.stringify(interaction, null, 2));
|
|
|
|
|
const modal = require(`./interactionHandlers/modals/${interaction.customId}`);
|
|
|
|
|
|
|
|
|
|
if (!modal) return;
|
|
|
|
|
|