A simple open-source Discord bot with built-in integration for Meta AI, enabling intelligent conversations and image generation. This bot uses Meta's cutting-edge AI technologies to bring advanced capabilities directly to your Discord server.
- 💬 Smart Conversations: Interact with Meta AI for natural, context-aware responses.
- 🎨 Image Generation: Create unique images based on user prompts.
- ⚡ Easy Integration: Simple setup to get started quickly.
- Python 3.8 or higher
- A Discord bot token (How to get one)
- Meta AI API key (from Meta's developer platform)
pip
for package management
-
Clone this repository:
git clone https://github.com/RebeloSebasstien/Discord-Meta-AI.git cd Discord-Meta-AI
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file in the root directory and add the following:DISCORD_TOKEN= your-discord-bot-token
-
Run the bot:
python bot.py
- Chat with Meta AI: Use the
!ask
command followed by your question or message.!ask What is the capital of France?
- Generate Images: Use the
!generate
command with a creative prompt.!generate A futuristic city at sunset
meta-ai-discord-bot/
│
├── main.py
├── actions.py
├── decorators.py
├── errors.py
├── processing.py
├── sharedfuncs.py
├── start.py # Start bot script
├── main.py # Main bot script
├── requirements.txt # Dependencies
├── .env # Environment variables (add this manually)
└── README.md # Documentation
Contributions are welcome! Feel free to fork the repository and submit pull requests.
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add new feature"
- Push to the branch:
git push origin feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.