blob: 35d598d41d20e48301532d8b1e4944f7dde7ab56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* 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';
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);
}
}
|