aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord-akairo/BushSlashMessage.ts
blob: 4e0c2975947ba5e02de6a0adffd2cb3b52dd022d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { type BushClient, type BushCommandUtil, type BushGuild, type BushGuildMember, type BushUser } from '#lib';
import { AkairoMessage } from 'discord-akairo';
import { type CommandInteraction } from 'discord.js';

export class BushSlashMessage extends AkairoMessage {
	public declare client: BushClient;
	public declare util: BushCommandUtil<BushSlashMessage>;
	public declare author: BushUser;
	public declare member: BushGuildMember | null;
	public constructor(client: BushClient, interaction: CommandInteraction) {
		super(client, interaction);
	}

	public override get guild(): BushGuild | null {
		return super.guild as BushGuild | null;
	}
}