Another Fix
This commit is contained in:
parent
a36742d485
commit
5b56bcdb08
1
index.js
1
index.js
|
|
@ -139,6 +139,7 @@ client.on('interactionCreate', async interaction => {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Discord.InteractionType.ModalSubmit:
|
case Discord.InteractionType.ModalSubmit:
|
||||||
|
console.log(JSON.stringify(interaction, null, 2));
|
||||||
const modal = require(`./interactionHandlers/modals/${interaction.customId}`);
|
const modal = require(`./interactionHandlers/modals/${interaction.customId}`);
|
||||||
|
|
||||||
if (!modal) return;
|
if (!modal) return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue