blob: 07cba3d6b54b4dc339eece661f7d74c7d80bfc25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { CommandUtil } from '@notenoughupdates/discord-akairo';
import { Message, type Client } from 'discord.js';
import type { RawMessageData } from 'discord.js/typings/rawDataTypes.js';
export class ExtendedMessage<InGuild extends boolean = boolean> extends Message<InGuild> {
public declare util: CommandUtil<Message<InGuild>>;
public constructor(client: Client<true>, data: RawMessageData) {
super(client, data);
this.util = new CommandUtil(client.commandHandler, this);
}
}
|