This commit is contained in:
parent
9c13ee6099
commit
88d229b709
2 changed files with 85 additions and 7 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue