Genie is a powerful Discord bot that uses natural language processing to answer user questions and perform various tasks.
- Answer questions using OpenAI's GPT-3
- Convert text to speech and play it in a voice channel
- Other custom commands and features
- Python 3
- discord.py
- OpenAI API
- gTTS (Google Text-to-Speech)
- FFmpeg
- discord.py
- openai
- gTTS
- PyNaCl
- ffmpeg-python
- Clone this repository.
- Install the required packages using
pip install -r requirements.txt
. - Set up your OpenAI API key and Discord bot token as environment variables.
- Run
genie.py
to start the bot.
!ask <question>
: Ask Genie a question, and it will provide an answer using GPT-3.!speak <text>
: Convert the given text to speech and play it in the user's voice channel.- Add other custom commands as needed.
- Fork the repository.
- Create a new branch with a descriptive name.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request.
Please follow the project's coding style and make sure your changes are tested.
This project is licensed under the MIT License. See the LICENSE file for details.