Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 MLArchitectBot

MLArchitectBot is a smart AI-powered chatbot built for Discord using the discord.py library. It responds to user messages using a large language model backend and includes utility commands like message clearing for moderators.


🚀 Features

  • 🧠 Conversational AI: Responds to user messages using llmbotmodel which leverages llama.
  • Fast & Asynchronous: Uses asyncio for efficient operation.

🛠️ Setup

1. Clone the Repository

git clone https://github.com/Niall1985/MLArchitectBot.git
cd MLArchitectBot

2. Install Dependencies

pip install -r requirements.txt

Dependencies:

  • discord.py
  • python-dotenv

3. Configure Environment Variables

Create a .env file in the project root:

key=YOUR_DISCORD_BOT_TOKEN

4. Enable Privileged Intents

Go to the Discord Developer Portal, select your bot, then go to Bot > Privileged Gateway Intents, and enable:

  • MESSAGE CONTENT INTENT

📜 Commands

!clear [amount]

Deletes the specified number of messages in the current channel. Defaults to 100.

⚠️ Requires Manage Messages permission.


📂 File Structure

.
├── bot.py            
├── llmbotmodel.py
├── llm_helper.py     
├── .env
├── .gitignore               
├── LICENSE
└── README.md           

📄 License

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


💬 Contact

Made by Niall1985
Feel free to fork, star ⭐, or contribute!


Let me know if you want the actual LICENSE file generated too!

About

MLArchitectBot is a smart AI-powered chatbot built for Discord

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages