discord
How to get these credentialsDiscord bot token (and optional API base URL) used by the discord worker's API functions.
CREATE SECRET discord (
TYPE discord,
token '<DISCORD_TOKEN>', -- secret
api_base '<api_base>'
);
| Key | Type | Required | Description |
|---|---|---|---|
| token secret | VARCHAR | — | Discord bot token, from the Bot page of your application in the Discord Developer Portal (Reset Token to reveal it). |
| api_base | VARCHAR | — | Optional Discord API base URL; defaults to https://discord.com/api/v10. |
The worker doesn't mark which keys are required.
Needed by send_messages