generate_bot_invite_url
Create an official OAuth2 invite link to add a bot or app to a Discord server with custom scopes and permissions.
Instructions
Generate an official OAuth2 invite link to add a bot or application to a server with custom permissions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | No | Pre-select a specific server ID in the invite authorization flow | |
| clientId | No | Bot / Application client ID (defaults to this bot's ID) | |
| scopesCsv | No | Comma-separated OAuth2 scopes (default: "bot,applications.commands") | bot,applications.commands |
| permissionsCsv | No | CSV of permission names (e.g. ViewChannel,SendMessages,ManageChannels) | |
| permissionsRaw | No | Raw permissions bitfield string (e.g. "8" for Administrator) |