aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushApplicationCommand.ts
blob: 0d7c00011deb50b359faea92b052483a4d73d6b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* eslint-disable @typescript-eslint/ban-types */
import { ApplicationCommand, Snowflake } from 'discord.js';
import { RawApplicationCommandData } from 'discord.js/typings/rawDataTypes';
import { BushClient } from '../discord-akairo/BushClient';
import { BushGuild } from './BushGuild';

export class BushApplicationCommand<PermissionsFetchType = {}> extends ApplicationCommand<PermissionsFetchType> {
	public declare readonly client: BushClient;
	public declare guild: BushGuild | null;

	public constructor(client: BushClient, data: RawApplicationCommandData, guild?: BushGuild, guildID?: Snowflake) {
		super(client, data, guild, guildID);
	}
}