tools.discord_user_tools module
Discord user API tools using per-user OAuth tokens.
Provides access to the user’s own Discord profile, guilds, and connected accounts using their personal OAuth token (not the bot’s token). Requires the user to have connected their Discord account via the OAuth flow.
- async tools.discord_user_tools.discord_user_profile(ctx=None)[source]
- Return type:
- Parameters:
ctx (ToolContext | None)
- async tools.discord_user_tools.discord_user_guilds(limit=50, ctx=None)[source]
- Return type:
- Parameters:
limit (int)
ctx (ToolContext | None)
- async tools.discord_user_tools.discord_user_connections(ctx=None)[source]
- Return type:
- Parameters:
ctx (ToolContext | None)