Create events tests
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ethan Lane 2024-03-22 17:40:36 +00:00
parent 9c13ee6099
commit 88d229b709
2 changed files with 85 additions and 7 deletions

View file

@ -8,10 +8,10 @@ export class Events {
if (interaction.isChatInputCommand()) {
ChatInputCommand.onChatInput(interaction);
}
if (interaction.isButton()) {
} else if (interaction.isButton()) {
Button.onButtonClicked(interaction);
} else {
console.error("Received interaction unable to interact with, ignoring");
}
}