aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/BushCommand.ts
blob: 4f9dc6ebf41c12fb0ce8bd96d7772c39b7b622ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
	constructor(id: string, options?: BushCommandOptions) {
		super(id, options);
		this.options = options;
	}
}