General:
- /help - List all commands
- /ping_bot - Ping the bot
- /random_number - Choose random number in a range
- /random_pick - Randomly pick an item from a list
Moderation:
- /vote_kick - Create a poll to kick a member
- /vote_ban - Create a poll to ban a member
ChatGPT:
- /chatgpt - Chat with GPT-3
- You can mention the bot to chat with it (using ChatGPT under the hood)
Meme:
- /meme - Get random meme
First, you need to change the environment variables in the .env.prod
file:
DISCORD_BOT_TOKEN=replace_with_your_key
CHATGPT_MODEL_NAME=gpt-3.5-turbo
OPENAI_API_KEY=replace_with_your_key
Then, start the bot using Docker:
docker-compose up -d
First, you need to set these environment variables:
export DISCORD_BOT_TOKEN=replace_with_your_key
export CHATGPT_MODEL_NAME=gpt-3.5-turbo
export OPENAI_API_KEY=replace_with_your_key
Then, install the dependencies:
pip install -r requirements.txt
Finally, start the bot:
cd src
python main.py
You can change the config in the src/config/app.yaml
file. The config in
${env:ENV_NAME}
will be loaded from environment variable.
Feel free to open an issue or create a pull request.
If you have any issues, please open an issue.