Function: withReactor() ​
ts
function withReactor(reactions, change): IMessageReaction[];Defined in: messageEvents.ts:236
someone's reaction counted; the viewer's own through me, anyone's through the names shown
Parameters ​
| Parameter | Type |
|---|---|
reactions | IMessageReaction[] |
change | { customEmoji: ICustomEmoji | null; emoji: string | null; emojiKey: string; isMe: boolean; user: Pick<IUserSimple, "id" | "username">; } |
change.customEmoji | ICustomEmoji | null |
change.emoji | string | null |
change.emojiKey | string |
change.isMe | boolean |
change.user | Pick<IUserSimple, "id" | "username"> |