This bot communicates with OpenAI API to provide users with Q&A, completion, sentiment analysis, emojification and various other functions.
Main features:
- Q&A
- Completion
- Emojification
- Sentiment Analysis
- Sarcastic Q&A
- Foulmouth Q&A
- Song Generation (lyrics)
- Headline Generation
It also features:
- per user temperature/language settings
- owner controlled server-wide response length limit
- built-in customizable allowance system so the server owners can limit user activity.
- built-in vip system so the server owners can exclude members from allowance system.
If you enjoy this bot consider donating via BTC address: 14ozvJYfChmiXwqhfzH4yCqcYR7gzwfVYT
Click here to add it to your server.
Note: You need a GPT-3 beta API key to be able to use this bot. See here for details.
- Tested with Python 3.8
- A Mongo DB instance is required
Set the following environment variables and run python3 bot.py
:
DISCORD_TOKEN=<YOUR BOT API TOKEN>
MONGO_DBUSER=<MONGO DATABASE USER>
MONGO_DBPASS=<MONGO DATABASE USER PASSWORD>
MONGO_HOST=<MONGO DATABASE HOST IP>
MONGO_PORT=<MONGO DATABASE HOST PORT>
MONGO_DBNAME=<MONGO DATABASE NAME>
- Edit
DISCORD_TOKEN
variable inside docker-compose.override.yml- Optional: Change mongo root user/pw/port values
run docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d
inside the directory.