From dc500eb666f4ffabd8bdf83de9237fcafee56ad7 Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Fri, 21 Oct 2022 18:41:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20re-enabled=20audits=20for=20inte?= =?UTF-8?q?ractionCreate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/events/interactionCreate/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/events/interactionCreate/index.ts b/src/events/interactionCreate/index.ts index 21fa2ff..dde7ab2 100644 --- a/src/events/interactionCreate/index.ts +++ b/src/events/interactionCreate/index.ts @@ -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: