tools.discord_webhooks module
Discord webhook management and execution.
- async tools.discord_webhooks.run(action, channel_id=None, webhook_id=None, webhook_url=None, name=None, content=None, username=None, avatar_url=None, embed_json=None, server_id=None, ctx=None)[source]
Execute this tool and return the result.
- Parameters:
action (
str) – The action value.channel_id (
str|None) – Discord/Matrix channel identifier.ctx (
ToolContext|None) – Tool execution context providing access to bot internals.
- Returns:
Result string.
- Return type: