blob: f6c4608c0d862fc4a377c83c814480ef11eebb48 (
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 DjsWarnListener extends BotListener {
public constructor() {
super('djsWarn', {
emitter: Emitter.Client,
event: Events.Warn
});
}
public async exec(...[message]: BotClientEvents[Events.Warn]): Promise<void> {
void this.client.console.superVerbose('dc.js-warn', message);
}
}
|