From 410442e17bfc0cc593a6b23cf7de7b1868f376cc Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Mon, 13 Jun 2022 14:17:21 +0200 Subject: [PATCH] Detected usage of the `any` type (JS-0323) --- src/plugins/events/messageUpdate/modules/counter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/events/messageUpdate/modules/counter.ts b/src/plugins/events/messageUpdate/modules/counter.ts index 03c60b9..4a01749 100644 --- a/src/plugins/events/messageUpdate/modules/counter.ts +++ b/src/plugins/events/messageUpdate/modules/counter.ts @@ -29,7 +29,7 @@ export default async (message: Message) => { await channel?.send(`${author} said **${word}**.`); logger?.silly(`${author} said ${word} in ${channel}`); }) - ?.catch(async (error: any) => { + ?.catch(async (error) => { logger?.error(error); }); };