blob: d10a024dd8923be338366bc778fc32d243646a8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import { AkairoMessage } from 'discord-akairo';
import { CommandInteraction } from 'discord.js';
import { BushGuild } from '../discord.js/BushGuild';
import { BushGuildMember } from '../discord.js/BushGuildMember';
import { BushUser } from '../discord.js/BushUser';
import { BushClient } from './BushClient';
import { BushCommand } from './BushCommand';
import { BushCommandUtil } from './BushCommandUtil';
export class BushSlashMessage extends AkairoMessage {
public declare client: BushClient;
public declare util: BushCommandUtil;
public declare author: BushUser;
public declare member: BushGuildMember;
public constructor(client: BushClient, interaction: CommandInteraction, command: BushCommand) {
super(client, interaction, command);
}
public override get guild(): BushGuild | null {
return super.guild as BushGuild | null;
}
}
|