One bot. Every tool. Zero clutter.
moderation · security · music · tickets · games · welcome · logging
About · Quick Start · Features · Music · Setup · Environment · Structure
REM is a full-featured all-in-one Discord bot — moderation, security, music, tickets, welcome flows, games, and utilities in one place.
Everything runs through soft pastel Components V2 panels, so setup and daily use stay clean instead of spread across multiple bots.
pip install -r requirements.txt
copy .env.example .env
python rem.py| Step | Command | Notes |
|---|---|---|
| 1 | pip install -r requirements.txt |
Install dependencies |
| 2 | Copy .env.example → .env |
Add your bot token |
| 3 | python rem.py |
Start the bot |
Required in .env:
TOKEN=your_discord_bot_token
OWNER_IDS=your_user_id
PREFIX=>Enable Message Content and Server Members intents in the Discord Developer Portal.
Security |
Music |
Server Tools |
Games |
|
|
| Command | Description |
|---|---|
>play <song> |
Play a track or playlist |
>search <query> |
Search and pick a result |
>nowplaying |
Current track info |
>queue |
View upcoming songs |
>pause / >resume / >skip |
Playback controls |
>volume <1-150> |
Set volume |
>loop / >shuffle / >autoplay |
Queue modes |
Optional Lavalink config:
LAVALINK_ENABLED=true
LAVALINK_URI=http://127.0.0.1:2333
LAVALINK_PASSWORD=youshallnotpassRestart the bot fully after changing music settings.
| Requirement | Purpose |
|---|---|
| Python 3.11+ | Runtime |
| Discord bot token | Authentication |
| Message Content intent | Prefix commands |
| Server Members intent | Mod, welcome, security |
| Lavalink (optional) | Music playback |
Permissions: Administrator is easiest, or grant manage server, roles, channels, messages, ban/kick/moderate, embeds, and connect/speak for music.
Security commands (antinuke, automod, emergency, etc.) require owner, admin, or bypass access.
| Key | Required | Purpose |
|---|---|---|
TOKEN |
✅ | Bot token |
OWNER_IDS |
✅ | Owner user ID(s) |
PREFIX |
— | Default > |
BOT_NAME |
— | Display name in panels |
BYPASS_IDS |
— | Trusted bypass users |
LAVALINK_URI |
🎵 | Music node |
OPENAI_API_KEY |
— | AI chat |
COMMAND_LOG_WEBHOOK_URL |
— | Command logs |
See .env.example for the full list.
rem.py → entry point
core/ → bot class + context
cogs/commands/ → user commands
cogs/moderation/ → moderation actions
cogs/antinuke/ → anti-nuke listeners
cogs/automod/ → automod listeners
cogs/rem/ → help panels
utils/ → config, database, CV2 UI
games/ → game engines
db/ → SQLite databases
python -m compileall rem.py cogs utils coreHealth endpoint (when keep-alive is on): GET http://127.0.0.1:8080/health
Logs: logs/rem.log
Security tips: Never commit .env or database files. Regenerate your token if leaked. Keep OWNER_IDS and BYPASS_IDS minimal. Restart after permission or env changes.
MIT License




