blob: 2db93b03df5c07399c0ec63227bc98ffd0b030cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { Command, CommandOptions } from 'discord-akairo';
import { APIApplicationCommandOption } from 'discord-api-types';
import { BotClient } from './BotClient';
export interface BotCommandOptions extends CommandOptions {
slashCommandOptions?: APIApplicationCommandOption[];
}
export class BotCommand extends Command {
public client: BotClient;
constructor(id: string, options?: BotCommandOptions) {
super(id, options);
this.options = options;
}
}
|