aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
blob: a16d8c20ee1cf653c073f9cbf02bc7b89c65c0d8 (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 { SelectMenuInteraction } from 'discord.js';
import { RawMessageSelectMenuInteractionData } 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 BushSelectMenuInteraction extends SelectMenuInteraction {
	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: RawMessageSelectMenuInteractionData) {
		super(client, data);
	}
}