aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushReactionEmoji.ts
blob: b2a7eb02f1e558f3e1b5b871ace3dd29b28a8b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import type { BushMessageReaction } from '#lib';
import { ReactionEmoji } from 'discord.js';
import type { RawReactionEmojiData } from 'discord.js/typings/rawDataTypes';

/**
 * Represents a limited emoji set used for both custom and unicode emojis. Custom emojis
 * will use this class opposed to the Emoji class when the client doesn't know enough
 * information about them.
 */
export class BushReactionEmoji extends ReactionEmoji {
	public declare reaction: BushMessageReaction;

	public constructor(reaction: BushMessageReaction, emoji: RawReactionEmojiData) {
		super(reaction, emoji);
	}
}