💡 Added comments
This commit is contained in:
parent
6a5d480438
commit
3f6e926789
1 changed files with 2 additions and 0 deletions
|
@ -10,11 +10,13 @@ import getEmbedConfig from "../../../../helpers/getEmbedData";
|
|||
import button from "./button";
|
||||
import command from "./command";
|
||||
|
||||
// Send interactions to all available handlers
|
||||
export const execute = async (interaction: BaseInteraction) => {
|
||||
await button(<ButtonInteraction>interaction);
|
||||
await command(<ChatInputCommandInteraction>interaction);
|
||||
};
|
||||
|
||||
// Handle interactions from commands
|
||||
export const handleCommandInteraction = async (
|
||||
interaction: CommandInteraction
|
||||
) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue