tools.discord_server_emojis module

List all custom emojis available in a Discord server.

async tools.discord_server_emojis.run(server_id=None, ctx=None)[source]

Return all custom emojis for a guild as JSON.

Parameters:
  • server_id (str | None) – Discord guild ID. Falls back to the context guild.

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

Return type:

str

Returns:

JSON string with the emoji list.