Deployment¶
Environment configuration¶
.env.prod and .env.test files are stored in the shared chapter ProtonPass vault. Copy the appropriate file to the server before starting the bot.
Adding the bot to a server¶
Only possible for bot owner account (PSSRA Admin)
Enable Server Members Intent in the Discord Developer Portal (Bot → Privileged Gateway Intents) for each application.
Required permissions¶
| Permission | Needed for |
|---|---|
| View Channels | reading channel context |
| Send Messages | posting in channels |
| Send Messages in Threads | responding in forum threads |
| Create Public Threads | creating forum posts via /event new |
| Manage Messages | editing the forum post body in place |
| Manage Threads | thread management |
| Embed Links | rich embeds in responses |
| Read Message History | fetching first message of a thread to edit |
| Bypass Slowmode | bot is not subject to channel slowmode |