feat(discord): log discord client errors
Refs: #27 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 file changed
+10
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user