refactor(all): uniformisation
This commit is contained in:
89 files changed
+10215
-10215
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import { Events } from 'discord.js';
|
||||
import { createLogger } from '../core/logger.js';
|
||||
|
||||
const log = createLogger('discord');
|
||||
|
||||
// discord.js reconnects automatically with backoff; we only log the lifecycle (M2-T04 / M2-T08).
|
||||
export const name = Events.ShardDisconnect;
|
||||
|
||||
export async function execute(_client, closeEvent, shardId) {
|
||||
log.warn('Shard disconnected', { shardId, code: closeEvent?.code });
|
||||
}
|
||||
import { Events } from 'discord.js';
|
||||
import { createLogger } from '../core/logger.js';
|
||||
|
||||
const log = createLogger('discord');
|
||||
|
||||
// discord.js reconnects automatically with backoff; we only log the lifecycle (M2-T04 / M2-T08).
|
||||
export const name = Events.ShardDisconnect;
|
||||
|
||||
export async function execute(_client, closeEvent, shardId) {
|
||||
log.warn('Shard disconnected', { shardId, code: closeEvent?.code });
|
||||
}
|
||||
Reference in new issue
Block a user