Debugging for interactions

This commit is contained in:
Dennis Heinrich 2024-04-27 03:38:26 +02:00
parent 01c661eeb6
commit 197b2c4515

View file

@ -4,6 +4,7 @@ const event = require('../events/index').eventBus;
const client = new Client({ intents: [GatewayIntentBits.Guilds] }); const client = new Client({ intents: [GatewayIntentBits.Guilds] });
client.on('interactionCreate', async interaction => { client.on('interactionCreate', async interaction => {
console.log(interaction);
if(interaction.isButton()) { if(interaction.isButton()) {
console.log(interaction) console.log(interaction)
let verificationObject = { let verificationObject = {