aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushMessageReaction.ts
blob: 056e4e679fae550f1022db644c1e66e69842019d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { MessageReaction, Partialize } from 'discord.js';
import { RawMessageReactionData } from 'discord.js/typings/rawDataTypes';
import { BushClient } from '../discord-akairo/BushClient';
import { BushGuildEmoji } from './BushGuildEmoji';
import { BushMessage } from './BushMessage';
import { BushReactionEmoji } from './BushReactionEmoji';

export type PartialBushMessageReaction = Partialize<BushMessageReaction, 'count'>;

export class BushMessageReaction extends MessageReaction {
	public declare readonly client: BushClient;
	public declare readonly emoji: BushGuildEmoji | BushReactionEmoji;

	public constructor(client: BushClient, data: RawMessageReactionData, message: BushMessage) {
		super(client, data, message);
	}
}