A feature-rich Discord bot built with Rust 🦀
| Category | Commands | Description |
|---|---|---|
| AI Chat | /chat, /chat-reset |
Chat with DeepSeek AI, per-user history |
| Roast | /roast |
Humorous roasts based on activity |
| Moderation | /kick, /ban, /timeout, /warn, /purge |
Server moderation |
| Fun | /coinflip, /8ball, /meme, /dad-joke |
Fun commands |
| Analytics | /stats, /profile |
Server & user statistics |
| Reminders | /reminder |
Indonesian holidays & Ramadan |
| Utility | /calc, /poll |
Calculator & polls |
| Help | /help |
Show all commands |
- Language: Rust (2024 Edition)
- Discord: Serenity
- Database: PostgreSQL (shared with Neruwork)
- Cache: Redis (shared with Neruwork)
- AI: DeepSeek API
# Clone
git clone https://github.com/nerufuyo/nerubot-rs.git
cd nerubot-rs
# Configure
cp .env.example .env
# Edit .env with your DISCORD_TOKEN
# Run
cargo run --releasedocker compose up -d --build| Variable | Required | Description |
|---|---|---|
DISCORD_TOKEN |
✅ | Discord bot token |
DATABASE_URL |
✅ | PostgreSQL connection string |
REDIS_URL |
✅ | Redis connection string |
DEEPSEEK_API_KEY |
⚡ | For AI chat feature |
Uses the same PostgreSQL database as Neruwork. Migrations run automatically on startup.
Tables:
guild_config— Server settingschat_history— AI chat sessionsroasts— Roast historymod_logs— Moderation logswarnings— User warningsmessage_stats— Message analyticscommand_usage— Command analyticsreminders— User reminderspolls— Active polls
MIT