/automod-system

🛡️ An advanced Discord Auto-Moderation System. Automatically protects your server based on predefined rules, detects unwanted messages, and warns users accordingly.

Primary LanguageJavaScriptMIT LicenseMIT

🛡️ Automod System

An advanced Discord Auto-Moderation System. Automatically protects your server based on predefined rules, detects unwanted messages, and warns users accordingly.


📁 Project Structure

Automod System/
├── otomod.js                 # Main entry point
├── Database/
│   └── otomod.json           # Blacklist, filters, etc.
├── Events/
│   └── Message/
│       └── messageCreate.js  # Handles message events
└── Settings/
    └── emojiler.json         # Custom emoji configurations

⚙️ Features

Feature Description
🚫 Swear Filter Blocks predefined swear words
🔗 Link Blocker Prevents unauthorized link sharing
🆎 Caps Lock Filter Restricts messages written in full caps
⚠️ Warning System Warns users who violate the rules
🎭 Emoji Notifications Sends moderation feedback using custom emojis

🛠️ Installation

  1. Clone the repository:
git clone https://github.com/ArviiSoft/automod-system.git
  1. Install dependencies:
npm install
  1. Configure your bot token and settings in otomod.js.

  2. Start the bot:

node otomod.js

🧠 How It Works

graph TD
    A[Message Created] --> B[messageCreate.js]
    B --> C{Check Rules}
    C -->|Swear| D[Delete Message & Warn User]
    C -->|Link| D
    C -->|CapsLock| D
    D --> E[Update Database]
Loading

🧩 Notes

  • emojiler.json contains emoji IDs used for moderation responses.
  • otomod.json stores rules and blacklist in JSON format.

🤝 Contributing

Pull requests and suggestions are always welcome.


🪪 License

This project is licensed under the MIT License. See the LICENSE file for details.