mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Update message.ts
This commit is contained in:
@@ -109,6 +109,23 @@ export function removeReaction(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Removes a reaction from the specified user on this message. Reaction takes the form of **name:id** for custom guild emoji, or Unicode characters. */
|
||||||
|
export function removeUserReaction(
|
||||||
|
channelID: string,
|
||||||
|
messageID: string,
|
||||||
|
reaction: string,
|
||||||
|
userId: string
|
||||||
|
) {
|
||||||
|
RequestManager.delete(
|
||||||
|
endpoints.CHANNEL_MESSAGE_REACTION_USER(
|
||||||
|
channelID,
|
||||||
|
messageID,
|
||||||
|
reaction,
|
||||||
|
userId
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
/** Removes all reactions for all emojis on this message. */
|
/** Removes all reactions for all emojis on this message. */
|
||||||
export function removeAllReactions(channelID: string, messageID: string) {
|
export function removeAllReactions(channelID: string, messageID: string) {
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user