🚀 re-enabled audits for interactionCreate

This commit is contained in:
Axel Olausson Holtenäs 2022-10-21 18:41:01 +02:00
parent cd3f0fcec7
commit dc500eb666

View file

@ -7,6 +7,7 @@ import {
import { IEventOptions } from "../../interfaces/EventOptions";
import logger from "../../middlewares/logger";
// Dependencies
import audits from "./audits";
import { handleCommandInteraction as HandlersHandleCommandInteraction } from "./handlers";
export const options: IEventOptions = {
@ -21,7 +22,7 @@ export const execute = async (interaction: BaseInteraction) => {
`New interaction: ${id} in guild: ${guild?.name} (${guild?.id})`
);
// await audits.execute(interaction);
await audits.execute(interaction);
switch (interaction.type) {
case InteractionType.ApplicationCommand: