blob: 1bb0904f987c0083b384617922bee86c107f5214 (
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);
}
}
|