Skip to content

A powerful moderation bot for Discord servers, built with Python and powered by a custom-trained AI model for detecting and handling hate speech. Ensures a safer community by automatically moderating messages in real time.

Notifications You must be signed in to change notification settings

AbiyuNigussie/moderator_ai_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord AI Moderator Bot

Discord AI Moderator Bot is a powerful and intelligent moderation bot for Discord servers, leveraging a custom-trained AI model to detect and mitigate hate speech in real time. This ensures a safer and more inclusive community for all members.

🛠 Features

  • 🚨 Real-time Message Moderation – Detects and removes hate speech automatically.
  • 🤖 AI-Powered Detection – Uses a trained Python AI model (SimpleRNN, LSTM, or fine-tuned BERT) for accurate text analysis.
  • 🔌 Easy Integration – Simple setup with Discord bot API.

🏗 Installation

Prerequisites

Ensure you have the following installed:

  • Python 3.8+
  • discord.py library
  • transformers, nltk, scikit-learn, and other dependencies

Setup Steps

  1. Clone this repository:
    git clone https://github.com/yourusername/discord-ai-moderator.git
    cd discord-ai-moderator
  2. Install dependencies:
    pip install -r requirements.txt
  3. Set up your bot token in a .env file:
    TOKEN=your_discord_token_here
  4. Run the bot:
    python bot.py

🧠 AI Model

The model is trained on a curated dataset to ensure high accuracy and minimal false positives.

🚀 Usage

  • The bot will automatically scan messages in all channels.
  • If hate speech is detected, it can take actions like deleting messages, warning users, or kicking them based on the configuration.
  • Admins can review flagged messages via logs.

🤝 Contributing

Pull requests are welcome! If you'd like to contribute, please fork the repository and submit a PR.

📞 Contact

For any issues or feature requests, open an issue on the GitHub repo.

About

A powerful moderation bot for Discord servers, built with Python and powered by a custom-trained AI model for detecting and handling hate speech. Ensures a safer community by automatically moderating messages in real time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published