mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-13 06:42:51 -05:00
Try to fix: Interaction has already been acknowled
This commit is contained in:
parent
12c59a40bf
commit
477ebbf996
|
|
@ -27,7 +27,11 @@ client.on("interactionCreate", async (interaction) => {
|
|||
);
|
||||
}
|
||||
|
||||
return command.execute({ interaction, client }).catch(console.error);
|
||||
try {
|
||||
await command.execute({ interaction, client });
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
});
|
||||
|
||||
client.login(process.env["BOT_TOKEN"]).catch((err) => console.error(err));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user