import { CommandUtil } from 'discord-akairo'; import { Message, type Client } from 'discord.js'; import { type RawMessageData } from 'discord.js/typings/rawDataTypes.js'; export class ExtendedMessage extends Message { public declare util: CommandUtil; public constructor(client_: Client, data: RawMessageData) { super(client_, data); this.util = new CommandUtil(client.commandHandler, this); } }