aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/BushCommandHandler.ts
blob: 52e4665e2bb29e2ab0284d0462519f930ea734fe (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 type BushCommandHandlerOptions = CommandHandlerOptions;

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

	declare modules: Collection<string, BushCommand>;
}