aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/BushCommandHandler.ts
blob: 6ef44d7a32114b4cd89e483e99bd3deb29c936ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { CommandHandler, CommandHandlerOptions } from 'discord-akairo';
import { Collection } from 'discord.js';
import { BushClient } from './BushClient';
import { BushCommand } from './BushCommand';

export interface BushCommandHandlerOptions extends CommandHandlerOptions {}

export class BushCommandHandler extends CommandHandler {
	public constructor(client: BushClient, options: BushCommandHandlerOptions) {
		super(client, options);
		this.client = client;
	}

	declare modules: Collection<string, BushCommand>;
}