aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushButtonInteraction.ts
blob: 3a54f612b3a6768e60b82921ff4d211ca086ee66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { APIInteractionGuildMember } from 'discord-api-types/v8';
import { ButtonInteraction, PartialDMChannel } from 'discord.js';
import { BushClient } from '../discord-akairo/BushClient';
import { BushDMChannel } from './BushDMChannel';
import { BushGuild } from './BushGuild';
import { BushGuildMember } from './BushGuildMember';
import { BushNewsChannel } from './BushNewsChannel';
import { BushTextChannel } from './BushTextChannel';
import { BushUser } from './BushUser';

export class BushButtonInteraction extends ButtonInteraction {
	public declare readonly channel: BushTextChannel | BushDMChannel | BushNewsChannel | PartialDMChannel | null;
	public declare readonly guild: BushGuild | null;
	public declare member: BushGuildMember | APIInteractionGuildMember | null;
	public declare user: BushUser;
	public constructor(client: BushClient, data: unknown) {
		super(client, data);
	}
}