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