GitHunt
AR

ArviiSoft/automod-system

๐Ÿ›ก๏ธ An advanced Discord Auto-Moderation System. Automatically protects your server based on predefined rules, detects unwanted messages, and warns users accordingly.

๐Ÿ›ก๏ธ 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.


ArviiSoft/automod-system | GitHunt