DM RELAY
DM RELAY Setup
Install DM RELAY, enable Message Content Intent, create .env, and start bot.py.
Install and start#
- Extract DM RELAY into a private directory.
- Copy
.env.exampleto.env. - Create the Discord bot and enable Message Content Intent.
- Enter the bot token, numeric owner ID, database credentials, and customization values.
- Install dependencies and start the bot.
- Send a test DM from a non-owner account and verify owner controls.
pip install -r requirements.txt
python bot.py
# or
python3 bot.pyPterodactyl-style settings#
| Setting | What to enter | What it controls |
|---|---|---|
BOT_PY_FILE | bot.py | Python entry file. |
REQUIREMENTS_FILE | requirements.txt | Dependency file installed by the host. |
PY_PACKAGES | Leave empty when requirements.txt is installed automatically | Optional manual package list. |
Discord permissions#
Invite with bot and applications.commands. Recommended permissions are View Channels, Send Messages, Embed Links, Attach Files, Add Reactions, and Read Message History. DM RELAY does not require Administrator for normal functionality.