EZD Logik
This commit is contained in:
@@ -33,7 +33,7 @@ async function commandHandler(interaction) {
|
||||
}
|
||||
async function buttonHandler(interaction) {
|
||||
const button = interaction.client.buttons.get(interaction.customId)
|
||||
if (!button) { return console.error(`No button registered matching ${interaction.customId}.`) }
|
||||
if (!button) { return }// console.error(`No button registered matching ${interaction.customId}.`) }
|
||||
try {
|
||||
await button.execute(interaction);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user