Another Fix
This commit is contained in:
parent
a0bb249ebc
commit
a954c845cf
2
index.js
2
index.js
|
|
@ -140,7 +140,7 @@ client.on('interactionCreate', async interaction => {
|
||||||
break;
|
break;
|
||||||
case Discord.InteractionType.ModalSubmit:
|
case Discord.InteractionType.ModalSubmit:
|
||||||
console.log(JSON.stringify(interaction, null, 2, (key, value) =>
|
console.log(JSON.stringify(interaction, null, 2, (key, value) =>
|
||||||
typeof value === 'bigint' ? value.toString() : value
|
typeof value === 'BigInt' ? value.toString() : value
|
||||||
));
|
));
|
||||||
const modal = require(`./interactionHandlers/modals/${interaction.customId}`);
|
const modal = require(`./interactionHandlers/modals/${interaction.customId}`);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue