blob: 413522f1a23d5ebc1411ef7a4b58eb8e91d85201 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { APIInteractionGuildMember } from 'discord-api-types/v9';
import { ButtonInteraction } from 'discord.js';
import { RawMessageButtonInteractionData } from 'discord.js/typings/rawDataTypes';
import { BushClient, BushTextBasedChannels } from '../discord-akairo/BushClient';
import { BushGuild } from './BushGuild';
import { BushGuildMember } from './BushGuildMember';
import { BushUser } from './BushUser';
export class BushButtonInteraction extends ButtonInteraction {
public declare readonly channel: BushTextBasedChannels | null;
public declare readonly guild: BushGuild | null;
public declare member: BushGuildMember | APIInteractionGuildMember | null;
public declare user: BushUser;
public constructor(client: BushClient, data: RawMessageButtonInteractionData) {
super(client, data);
}
}
|