ABYSS - Free Open Source Discord Bot Template
ABYSS - A powerful, secure, and feature-rich Discord bot template to protect and manage your community.
100% Free • Open Source • Community Driven • AutoMod Ready
📋 Table of Contents
🌟 About ABYSS
ABYSS is a completely free and open-source Discord bot template designed to help server owners secure and manage their communities effectively. Built with security, performance, and ease of use in mind, ABYSS provides everything you need to run a well-moderated Discord server.
Why ABYSS?
- ✅ 100% Free - No paywalls, no premium tiers
- ✅ Open Source - Fully transparent code on GitHub
- ✅ Community Driven - Built by the community, for the community
- ✅ Easy to Use - Simple setup and configuration
- ✅ Feature Rich - 100+ commands across 8 categories
- ✅ AutoMod Badge Ready - Get Discord’s official AutoMod badge
- ✅ Actively Maintained - Regular updates and improvements
✨ Features
🛡️ Security Suite
- Anti-Raid - Detect and block mass joins, rapid actions
- Anti-Nuke - Protect against channel/role deletion, permission changes
- Anti-Spam - Prevent message spam, mention spam, emoji spam
- Auto-Mod - Automatic filtering of invites, links, bad words, caps
- Verification System - Captcha verification, reaction roles, button verification
- Whitelist/Blacklist - Protect trusted users, block malicious ones
- Full moderation suite (ban, kick, mute, warn)
- Temporary punishments
- Warning system with automatic actions
- Purge messages with filters
- Channel lockdown and slowmode
- Nickname and role management
👋 Welcome & Goodbye
- Customizable welcome messages
- Canvas-generated welcome images
- Goodbye cards and messages
- Multiple card templates
- Custom backgrounds and colors
📊 Utility Commands
- Server and user information
- Avatar and banner display
- Bot statistics and uptime
- Help menu with categories
- Invite management
📝 Logging System
- Full event logging
- Configurable log channels
- Ignore specific channels/users
- Detailed audit logs
🏆 AutoMod Badge System
ABYSS includes a dedicated AutoMod command system to help your bot earn Discord’s official “Uses AutoMod” badge!
What is the AutoMod Badge?
Discord awards this badge to bots that properly utilize the AutoMod API with at least 100 rules across all servers.
How ABYSS Helps You Get It
| Feature |
Description |
/automod setup |
Creates 5-6 rules instantly in any server |
/automod create |
Create custom keyword rules (up to 6 per server) |
/automod stats |
Track your progress toward 100 rules |
| Smart Limit Handling |
Automatically respects Discord’s per-server limits |
| Timeout Support |
Timeout action for keyword and mention rules |
Per-Server Limits
| Trigger Type |
Max Rules |
| Keyword |
6 |
| Spam |
1 |
| Preset (Profanity/Sexual/Slurs) |
1 |
| Mention Spam |
1 |
| Total Per Server |
10 |
Progress Tracking
/automod stats
Shows your current total rules, servers with rules, and remaining needed.
🛡️ Security Modules
Anti-Raid Protection
| Feature |
Description |
| Mass Join Detection |
Blocks sudden influx of new members |
| Rapid Action Detection |
Detects quick bans/kicks/changes |
| Auto Punishment |
Automatically applies punishments |
| Whitelist Bypass |
Trusted users bypass detection |
Anti-Nuke Protection
| Feature |
Description |
| Channel Protection |
Prevents mass channel deletion/creation |
| Role Protection |
Blocks unauthorized role changes |
| Permission Guard |
Monitors permission changes |
| Admin Protection |
Special protection for admin actions |
Anti-Spam Protection
| Feature |
Description |
| Message Spam |
Blocks rapid message sending |
| Mention Spam |
Prevents mass mentions |
| Emoji Spam |
Stops emoji flooding |
| Link Spam |
Controls link posting |
Auto-Moderation
| Feature |
Description |
| Invite Filter |
Blocks Discord invites |
| Link Filter |
Controls external links |
| Bad Words |
Custom word blacklist |
| Caps Control |
Limits ALL CAPS messages |
| Emoji Limit |
Restricts emoji usage |
Verification System
| Feature |
Description |
| Captcha |
Image/text captcha verification |
| Button Verify |
One-click verification |
| Reaction Role |
Role assignment via reactions |
| Timeout |
Auto-kick unverified users |
📚 Commands Overview
Moderation Commands (15+)
| Command |
Description |
Permissions |
/ban |
Ban a user |
Ban Members |
/kick |
Kick a user |
Kick Members |
/mute |
Timeout a user |
Moderate Members |
/unmute |
Remove timeout |
Moderate Members |
/warn |
Warn a user |
Moderate Members |
/warnings |
View user warnings |
Moderate Members |
/purge |
Delete messages |
Manage Messages |
/lockdown |
Lock/unlock channel |
Manage Channels |
/slowmode |
Set channel slowmode |
Manage Channels |
/nickname |
Change nickname |
Manage Nicknames |
/role |
Add/remove roles |
Manage Roles |
AutoMod Commands (NEW)
| Command |
Description |
Badge Progress |
/automod setup |
Set up AutoMod rules |
+5-6 rules |
/automod create |
Create custom keyword rule |
+1 rule |
/automod list |
List all AutoMod rules |
- |
/automod stats |
Track badge progress |
- |
/automod delete |
Delete a rule |
- |
Anti Commands (10+)
| Command |
Description |
/anti raid |
Configure anti-raid settings |
/anti nuke |
Configure anti-nuke settings |
/anti spam |
Configure anti-spam settings |
/whitelist |
Manage whitelisted users |
/blacklist |
Manage blacklisted users |
Verification Commands (8+)
| Command |
Description |
/verification setup |
Set up verification system |
/verification captcha |
Configure captcha settings |
/verification role |
Set verified role |
/verify |
Start verification |
Welcome Commands (10+)
| Command |
Description |
/welcome channel |
Set welcome channel |
/welcome message |
Set welcome message |
/welcome image |
Set welcome image |
/welcome canvas |
Configure canvas card |
/welcome test |
Test welcome message |
Goodbye Commands (10+)
| Command |
Description |
/goodbye channel |
Set goodbye channel |
/goodbye message |
Set goodbye message |
/goodbye image |
Set goodbye image |
/goodbye canvas |
Configure canvas card |
/goodbye test |
Test goodbye message |
Utility Commands (20+)
| Command |
Description |
/ping |
Check bot latency |
/uptime |
Check bot uptime |
/stats |
View bot statistics |
/help |
Display help menu |
/userinfo |
Get user information |
/serverinfo |
Get server information |
/roleinfo |
Get role information |
/avatar |
Get user avatar |
/invite |
Get bot invite |
Logging Commands (8+)
| Command |
Description |
/logging channel |
Set logging channel |
/logging events |
Configure logged events |
/logging ignore |
Ignore channels/users |
/logging test |
Test logging |
Owner Commands (12+)
| Command |
Description |
/eval |
Execute JavaScript code |
/exec |
Execute shell command |
/reload |
Reload commands |
/restart |
Restart the bot |
/servers |
List all servers |
/broadcast |
Send message to all servers |
/blacklist |
Blacklist a user/guild |
Total: 100+ Commands across all categories!
🎮 Live Demo
Want to see ABYSS in action before deploying?
🤖 Invite the Public Bot
Click the link below to add ABYSS to your server instantly:
Get help, suggest features, and connect with other ABYSS users:
Discord Server: https://discord.gg/yAmED8qhXd
Bot Invite: https://discord.com/oauth2/authorize?client_id=1467842302260281427
GitHub Repository: https://github.com/rak-dev1/abyss
📦 Installation
Prerequisites
- Node.js 16.9.0 or higher
- MongoDB 4.4 or higher
- Git
- Basic knowledge of Discord bots
Step-by-Step Installation
- Clone the repository
git clone https://github.com/rak-dev1/abyss.git
cd abyss
- Install dependencies
npm install
- Configure environment
cp .env.example .env
# Edit .env with your Discord bot token and MongoDB URI
- Start the bot
npm start
# or with PM2 for production
npm run pm2
⚙️ Configuration
Environment Variables
| Variable |
Description |
Required |
Default |
TOKEN |
Discord bot token |
✅ |
- |
CLIENT_ID |
Discord application ID |
✅ |
- |
MONGO_URI |
MongoDB connection string |
✅ |
- |
OWNER_IDS |
Bot owner IDs (comma separated) |
✅ |
- |
PREFIX |
Command prefix |
❌ |
! |
EMBED_COLOR |
Default embed color |
❌ |
6B4EFF |
STATUS |
Bot status |
❌ |
dnd |
ACTIVITY |
Bot activity |
❌ |
Securing Communities |
Security Settings
| Variable |
Description |
Default |
ANTI_RAID_ENABLED |
Enable anti-raid |
true |
ANTI_NUKE_ENABLED |
Enable anti-nuke |
true |
ANTI_SPAM_ENABLED |
Enable anti-spam |
true |
AUTO_MOD_ENABLED |
Enable auto-mod |
true |
LOG_CHANNEL |
Default log channel |
logs |
MAX_WARNS |
Max warnings before action |
3 |
PUNISH_ACTION |
Auto punishment action |
mute |
AutoMod Badge Settings
| Variable |
Description |
Default |
AUTOMOD_BLOCK_INVITES |
Block Discord invites |
true |
AUTOMOD_BLOCK_LINKS |
Block external links |
true |
AUTOMOD_BLOCK_CAPS |
Block excessive caps |
true |
AUTOMOD_BLOCK_BADWORDS |
Block bad words |
true |
AUTOMOD_MAX_MENTIONS |
Max mentions allowed |
5 |
AUTOMOD_MAX_EMOJIS |
Max emojis allowed |
10 |
📂 Full Folder Structure
ABYSS/
├── .env.example # Example environment variables
├── .gitignore # Git ignore file
├── package.json # Dependencies
├── ecosystem.config.js # PM2 configuration
├── LICENSE # MIT License
├── README.md # This file
│
├── src/ # Source code
│ ├── index.js # Entry point
│ │
│ ├── bot/ # Bot core
│ │ ├── AbyssClient.js # Main client class
│ │ ├── handlers/ # Event handlers
│ │ ├── structures/ # Class structures
│ │ ├── utils/ # Utilities
│ │ ├── databases/ # Database schemas
│ │ ├── config/ # Configuration
│ │ └── events/ # Discord events
│ │
│ └── commands/ # Command files
│ ├── slash/ # Slash commands
│ │ ├── moderation/ # Moderation commands
│ │ ├── anti/ # Anti-raid/nuke/spam commands
│ │ ├── verification/ # Verification commands
│ │ ├── welcome/ # Welcome commands
│ │ ├── goodbye/ # Goodbye commands
│ │ ├── utility/ # Utility commands
│ │ ├── logging/ # Logging commands
│ │ └── owner/ # Owner commands
│ │
│ └── prefix/ # Prefix commands (mirror structure)
│
├── dashboard/ # Web dashboard (optional)
└── assets/ # Images and fonts
🗄️ Database Schemas
ABYSS uses MongoDB with the following schemas:
| Schema |
Purpose |
Key Fields |
guildSchema |
Server settings |
prefix, language, disabledCommands |
userSchema |
User data |
warnings, mutes, blacklist |
warnSchema |
Warning records |
userId, moderatorId, reason |
muteSchema |
Mute records |
userId, expiresAt, reason |
verificationSchema |
Verification settings |
enabled, role, channel, type |
captchaSchema |
Captcha data |
userId, code, expiresAt |
antiRaidSchema |
Anti-raid settings |
enabled, threshold, punishment |
antiNukeSchema |
Anti-nuke settings |
enabled, whitelist, actions |
autoModSchema |
Auto-mod settings |
rules, punishments, ignored |
welcomeSchema |
Welcome settings |
channel, message, image, canvas |
goodbyeSchema |
Goodbye settings |
channel, message, image, canvas |
loggingSchema |
Logging config |
channel, events, ignored |
blacklistSchema |
Blacklisted entities |
targetId, reason, expires |
🎨 Canvas Templates
ABYSS includes 5 beautiful canvas templates:
Welcome Templates
- Classic - Simple and elegant
- Modern - Clean design with gradients
- Gaming - For gaming communities
- Minimal - Minimalist design
- Custom - Fully customizable
Goodbye Templates
- Classic - Simple farewell
- Modern - Clean departure card
- Gaming - Game-themed goodbye
- Minimal - Minimalist design
- Custom - Fully customizable
🚀 Deployment Options
Option 1: Local Deployment
npm start
Option 2: PM2 (Recommended for Production)
npm install -g pm2
npm run pm2
pm2 save
pm2 startup
Option 3: Docker
docker build -t abyss-bot .
docker run -d --name abyss-bot --env-file .env abyss-bot
Option 4: Heroku
heroku create abyss-bot
heroku addons:create mongolab
heroku config:set TOKEN=your_token
git push heroku main
🤝 Contributing
We welcome contributions from the community!
How to Contribute
- Fork the repository (https://github.com/rak-dev1/abyss/fork)
- Create a feature branch (
git checkout -b feature/AmazingFeature)
- Commit your changes (
git commit -m 'Add some AmazingFeature')
- Push to the branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
Contribution Guidelines
- Follow existing code style
- Add comments for complex logic
- Update documentation
- Test your changes
- Be respectful to others
Reporting Issues
- Use GitHub Issues
- Provide detailed description
- Include steps to reproduce
- Add screenshots if applicable
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2024 ABYSS Development Team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Get help, suggest features, and connect with other ABYSS users:
Quick Links
⭐ Star History
If you find ABYSS useful, please consider giving it a star on GitHub!

🙏 Acknowledgements
ABYSS wouldn’t be possible without these amazing projects:
ABYSS - Secure your Discord community with the power of the abyss.
Made with ❤️ by the ABYSS Community
⚡ Quick Start
# 1. Clone the repository
git clone https://github.com/rak-dev1/abyss.git
# 2. Navigate to directory
cd abyss
# 3. Install dependencies
npm install
# 4. Configure environment
cp .env.example .env
# Edit .env with your Discord bot token and MongoDB URI
# 5. Start the bot
npm start
Your Discord community is now protected by ABYSS! 🛡️
```
评论