DM RELAY
DM RELAY Environment Configuration
Configure every DM RELAY environment variable and customization field.
Environment variables#
| Setting | What to enter | What it controls |
|---|---|---|
DISCORD_BOT_TOKEN | YOUR_BOT_TOKEN | Private Discord bot token. |
OWNER_ID | YOUR_DISCORD_USER_ID | Numeric Discord user ID receiving relayed messages; not a username, display name, or mention. |
OWNER_NAME | Owner or staff display name | Name shown to users in supported relay messages. |
LOG_CHANNEL_ID | YOUR_CHANNEL_ID or 0 | Optional server log channel; 0 disables channel logging. |
BOT_NAME | DM RELAY | Custom product name used in messages. |
PRESENCE_TEXT | Private support messages | Text displayed as a Listening activity. |
DB_HOST | YOUR_DATABASE_HOST | Database hostname only. |
DB_PORT | 3306 | Database port. |
DB_NAME | YOUR_DATABASE_NAME | Database name. |
DB_USER | YOUR_DATABASE_USER | Database username. |
DB_PASSWORD | YOUR_DATABASE_PASSWORD | Database password. |
WELCOME_MESSAGE | A single-line welcome message | Sent to a user during the first supported contact flow. |