Parakeet Bot is a Discord bot that leverages OpenAI's GPT models to interact with users, provide help, and manage server roles.
-
Clone the repository:
git clone https://github.com/yourusername/parakeet-bot.git cd parakeet-bot -
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Create a
.envfile in thesrcdirectory and add your configuration variables:cp src/.env.example src/.env
Ensure you have the following variables set in your .env file:
OPENAI_API_KEY
DISCORD_BOT_TOKEN
OPT_IN_ROLE_NAME
FEEDBACK_BASE_DIR
COMMAND_PREFIX
MAX_DISCORD_MESSAGE_LENGTH