Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function deleteOwnReaction
import { deleteOwnReaction } from "https://deno.land/x/discordeno@17.0.0/helpers/messages/reactions/mod.ts";

Deletes a reaction added by the bot user from a message.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel the message to delete the reaction from is in.
messageId: BigString
  • The ID of the message to delete the reaction from.
reaction: string
  • The reaction to delete from the message.

Returns

Promise<void>