https://github.com/Khanmanan/automod-bot
Moderation bot discord
https://github.com/Khanmanan/automod-bot
discor-bot discord discord-fun discord-js-bot discord-moderation discord-moderation-bot discord-music-bot discord-music-bot-24-7 discordjs discordjs-bot discordjsbot glitch moderation-bot nsfw replit watch youtube youtube-bot
Last synced: 1 day ago
JSON representation
Moderation bot discord
- Host: GitHub
- URL: https://github.com/Khanmanan/automod-bot
- Owner: Khanmanan
- License: other
- Created: 2021-05-19T19:13:07.000Z (almost 4 years ago)
- Default Branch: v2
- Last Pushed: 2025-03-31T15:37:42.000Z (24 days ago)
- Last Synced: 2025-04-22T06:59:03.717Z (2 days ago)
- Topics: discor-bot, discord, discord-fun, discord-js-bot, discord-moderation, discord-moderation-bot, discord-music-bot, discord-music-bot-24-7, discordjs, discordjs-bot, discordjsbot, glitch, moderation-bot, nsfw, replit, watch, youtube, youtube-bot
- Language: Dockerfile
- Homepage: https://cwkhan.xyz/discord
- Size: 688 KB
- Stars: 271
- Watchers: 10
- Forks: 274
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-discord - automod-bot - commit/khanmanan/automod-bot?style=flat-square) |  |  | Moderation bot discord | (Bots)
README
# ๐ค Automod Bot
A powerful moderation Discord bot built with Discord.js v14, Mongoose, and Firebase, designed to keep your server clean, safe, and automated.

---
## ๐ Features
- Slash commands with auto-detection and pagination help menu
- Automod with toggle system per server (anti-link, anti-spam, anti-mention, etc.)
- Database logging (MongoDB + Mongoose)
- Moderation tools: Warn, Kick, Ban, TempBan, Mute, Unmute
- Logging system for actions like message delete/edit
- Web dashboard integration (soon)
- Discord OAuth for authentication (in progress)---
## ๐ Setup
### Prerequisites
- Node.js v18 or higher
- MongoDB URI (local or cloud)
- Discord Bot Token
- Firebase setup (optional)### Installation
```bash
git clone https://github.com/Khanmanan/automod-bot.git
cd automod-bot
npm install
```### Environment Setup
Create a `.env` file in the root:
```env
TOKEN=your_discord_token
MONGO_URI=your_mongo_connection
CLIENT_ID=your_bot_client_id
GUILD_ID=your_guild_id (for testing commands)
```### Running the Bot
```bash
node index.js
```To deploy slash commands globally or per guild:
```bash
node deploy.js
```---
## ๐งฉ Commands
All commands are organized in the `/commands` folder and auto-loaded by category. Use `/help` to view all.
- Moderation
- Utility
- Configuration
- Logging---
## ๐ TODO List
### ๐ง Core Features
- [x] Auto-load slash commands by category
- [x] Help command with pagination and buttons
- [x] Logging system for moderation actions
- [x] Toggle-based automod (on/off per rule)
- [x] Rate-limited buttons on help command### ๐ Web Dashboard
- [ ] Discord OAuth2 login
- [ ] Guild selector
- [ ] Toggle Automod settings from UI
- [ ] View mod logs and history### ๐งช Future Ideas
- [ ] Captcha on join (anti-raid)
- [ ] Dashboard theming (match drift.rip style)
- [ ] Analytics dashboard (number of mutes/bans per day)
- [ ] Multi-language support---
## ๐ค Author
**Khanmanan**
GitHub: [@Khanmanan](https://github.com/Khanmanan)
Bot Repo: [automod-bot](https://github.com/Khanmanan/automod-bot)---
## ๐ License
MIT ยฉ 2025 Khanmanan