blob: 2b34c690856b8d4e5910f19a6a5028e4f6917298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import { Command, CommandOptions } from 'discord-akairo';
import { APIApplicationCommandOption } from 'discord-api-types';
import { BushClient } from './BushClient';
export interface BushCommandOptions extends CommandOptions {
slashCommandOptions?: APIApplicationCommandOption[];
description: {
content: string;
usage: string;
examples: string[];
};
}
export class BushCommand extends Command {
public client: BushClient;
options: BushCommandOptions;
constructor(id: string, options?: BushCommandOptions) {
super(id, options);
this.options = options;
}
}
|