General Purpose OpenAI Discord Bot for generating texts, code, files, audio, images and all kinds of things interactively and intelligently.
- A discord application and bot user
- An OpenAI account with a set up payment plan
- Access to the gpt-4o model
- openai
- discord
- python-docx
- configparser
-
YOUR_DISCORD_SERVER_ID_HERE
-
YOUR_DISCORD_BOT_API_KEY_HERE
-
YOUR_OPENAI_ORGANIZATION_ID_HERE
-
YOUR_OPENAI_API_KEY_HERE
-
You can now set your history length, I recommend no more than 100. You can also change the bot's identity and behavior through entering your prompt in the system_message.
Now you can invite your bot to your server. It needs message and editing permissions. Then run main.py.
- Allow the bot to use any channels you want it to use. It can naturally talk and remember. You do not need to use a command.