feat(discord): log discord client errors

Refs: #27
This commit is contained in:
nocode committed 2026-09-13 12:25:07 +02:00
1 parent 0fb20d120a
commit e9c110a752
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
import { Events } from 'discord.js';
import { createLogger } from '../core/logger.js';
const log = createLogger('discord');
export const name = Events.Error;
export async function execute(_client, error) {
log.error('Discord client error', error);
}