aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 296c06b..2345a25 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -89,7 +89,7 @@ export default class {
}
await handler.execute(msg, args);
- } catch (error) {
+ } catch (error: unknown) {
debug(error);
await msg.channel.send(errorMsg((error as Error).message.toLowerCase()));
}