aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/BushInteractionMessage.ts
blob: 9bdc2912fa1338c03842bad0bc2da3dfd344be00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { AkairoMessage } from 'discord-akairo';
import { CommandInteraction } from 'discord.js';
import { BushClient } from './BushClient';

export class BushInteractionMessage extends AkairoMessage {
	public constructor(
		client: BushClient,
		interaction: CommandInteraction,
		{ slash, replied }: { slash?: boolean; replied?: boolean }
	) {
		super(client, interaction, { slash, replied });
		this.client = client;
		this.interaction = interaction;
	}
}