aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/BushMessage.ts
blob: afa6bde45bf402daaf7f3d35d6f248f1ddcf4a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { DMChannel, Message, NewsChannel, TextChannel } from 'discord.js';
import { BushClient } from './BushClient';
import { BushCommandUtil } from './BushCommandUtil';

export class BushMessage extends Message {
	declare client: BushClient;
	declare util: BushCommandUtil;
	constructor(client: BushClient, data: unknown, channel: TextChannel | DMChannel | NewsChannel) {
		super(client, data, channel);
		this.client = client;
		this.channel = channel;
	}
}