Skip to main content
Glama

remove_reaction

Remove specific emoji reactions from Discord messages by specifying the channel, message ID, and emoji. Simplify reaction management on the mcp-discord server.

Instructions

Remove a reaction from a message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_idYesChannel containing the message
emojiYesEmoji to remove (Unicode or custom emoji ID)
message_idYesMessage to remove reaction from

Implementation Reference

  • Handler implementation for the 'remove_reaction' tool. Fetches the specified channel and message, then removes the specified reaction added by the bot user, returning a success confirmation.
    elif name == "remove_reaction": channel = await discord_client.fetch_channel(int(arguments["channel_id"])) message = await channel.fetch_message(int(arguments["message_id"])) await message.remove_reaction(arguments["emoji"], discord_client.user) return [TextContent( type="text", text=f"Removed reaction {arguments['emoji']} from message" )]
  • Registration of the 'remove_reaction' tool in the list_tools() function, including its name, description, and input schema definition.
    Tool( name="remove_reaction", description="Remove a reaction from a message", inputSchema={ "type": "object", "properties": { "channel_id": { "type": "string", "description": "Channel containing the message" }, "message_id": { "type": "string", "description": "Message to remove reaction from" }, "emoji": { "type": "string", "description": "Emoji to remove (Unicode or custom emoji ID)" } }, "required": ["channel_id", "message_id", "emoji"] } ),

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hanweg/mcp-discord'

If you have feedback or need assistance with the MCP directory API, please join our Discord server