blob: 47d41196779e0a1acdc9c3139f11b9e473ea7ede (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import type { BushClient, BushGuildEmoji, BushMessage, BushReactionEmoji } from '#lib';
import { MessageReaction, type Partialize } from 'discord.js';
import type { RawMessageReactionData } from 'discord.js/typings/rawDataTypes';
export type PartialBushMessageReaction = Partialize<BushMessageReaction, 'count'>;
/**
* Represents a reaction to a message.
*/
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);
}
}
|