commit
99fc49daa8
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,6 @@ export const execute = async (interaction: BaseInteraction) => {
|
||||||
`New interaction: ${id} in guild: ${guild?.name} (${guild?.id})`
|
`New interaction: ${id} in guild: ${guild?.name} (${guild?.id})`
|
||||||
);
|
);
|
||||||
|
|
||||||
await audits.execute(interaction);
|
|
||||||
|
|
||||||
switch (interaction.type) {
|
switch (interaction.type) {
|
||||||
case InteractionType.ApplicationCommand:
|
case InteractionType.ApplicationCommand:
|
||||||
await HandlersHandleCommandInteraction(<CommandInteraction>interaction);
|
await HandlersHandleCommandInteraction(<CommandInteraction>interaction);
|
||||||
|
@ -32,4 +30,6 @@ export const execute = async (interaction: BaseInteraction) => {
|
||||||
default:
|
default:
|
||||||
logger?.error(`Unknown interaction type: ${interaction.type}`);
|
logger?.error(`Unknown interaction type: ${interaction.type}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await audits.execute(interaction);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue