blob: 829883073eca23a296994b7e1075ab0144d8f2c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* eslint-disable @typescript-eslint/ban-types */
import type { BushClient, BushGuild } from '#lib';
import { ApplicationCommand, type Snowflake } from 'discord.js';
import type { RawApplicationCommandData } from 'discord.js/typings/rawDataTypes';
/**
* Represents an application command.
*/
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);
}
}
|