tools.discord_message_reactions module

Read reactions on a specific Discord message.

async tools.discord_message_reactions.run(message_id, channel_id=None, ctx=None)[source]

Fetch reactions on a message and return them as JSON.

Parameters:
  • message_id (str) – The Discord message ID.

  • channel_id (str | None) – Optional channel ID to narrow the search.

  • ctx (ToolContext | None) – Tool execution context.

Return type:

str

Returns:

JSON string mapping emoji → list of user display names.