Merge pull request #461 from VermiumSifell/dev

2022.11.02
This commit is contained in:
Axel Olausson Holtenäs 2022-10-23 19:53:45 +02:00 committed by GitHub
commit 99fc49daa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,6 @@ export const execute = async (interaction: BaseInteraction) => {
`New interaction: ${id} in guild: ${guild?.name} (${guild?.id})`
);
await audits.execute(interaction);
switch (interaction.type) {
case InteractionType.ApplicationCommand:
await HandlersHandleCommandInteraction(<CommandInteraction>interaction);
@ -32,4 +30,6 @@ export const execute = async (interaction: BaseInteraction) => {
default:
logger?.error(`Unknown interaction type: ${interaction.type}`);
}
await audits.execute(interaction);
};