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.
- 🧠 Conversational AI: Responds to user messages using
llmbotmodelwhich leverages llama. - ⚡ Fast & Asynchronous: Uses
asynciofor efficient operation.
git clone https://github.com/Niall1985/MLArchitectBot.git
cd MLArchitectBotpip install -r requirements.txtDependencies:
discord.pypython-dotenv
Create a .env file in the project root:
key=YOUR_DISCORD_BOT_TOKEN
Go to the Discord Developer Portal, select your bot, then go to Bot > Privileged Gateway Intents, and enable:
MESSAGE CONTENT INTENT
Deletes the specified number of messages in the current channel. Defaults to 100.
⚠️ RequiresManage Messagespermission.
.
├── bot.py
├── llmbotmodel.py
├── llm_helper.py
├── .env
├── .gitignore
├── LICENSE
└── README.md
This project is licensed under the MIT License.
See the LICENSE file for details.
Made by Niall1985
Feel free to fork, star ⭐, or contribute!
Let me know if you want the actual LICENSE file generated too!