aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/client/djsDebug.ts
blob: 6dd62a2699c413378a4b774da90d03d78b78481c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { BotListener, Emitter, type BotClientEvents } from '#lib';
import { Events } from 'discord.js';

export default class DjsDebugListener extends BotListener {
	public constructor() {
		super('djsDebug', {
			emitter: Emitter.Client,
			event: Events.Debug
		});
	}

	public async exec(...[message]: BotClientEvents[Events.Debug]): Promise<void> {
		void this.client.console.superVerbose('dc.js-debug', message);
	}
}