Another Fix

This commit is contained in:
Christopher Cookman 2025-11-13 09:05:17 -07:00
parent a0bb249ebc
commit a954c845cf

View file

@ -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}`);