Soupy-combined combines the functionality of the chat bot with the functionality of the image generation bot.
- Install dependencies.
- Create a .env and populate it.
- Have fun.
Soupy Duo is a very simple OpenAI/Dall-E-3 API Discord bot. It's simple to set up and it's simple to run.
- Install dependencies.
- create a .env and populate it with your OPENAI_API_KEY and DISCORD_BOT_TOKEN
- Have fun at $0.04 per image, yikes.
The current functionality of the bot is:
- Soupy will respond to all @mentions of itself in all channels that it can access, and to all messages in a specific channel, even if it isn't mentioned.
- Soupy will also respond to 2% of all messages in all channels that it has access to -- but it will limit its total tokens when responding randomly to MAX_TOKENS_RANDOM.
- Soupy considers the message history of the channel where it is activated, which by default is the 10 previous messages.
- Soupy bot will now split any message longer than 1500 characters into multiple chunks, and then send those chunks as separate messages.
- Discord bot's token
- OpenAI API Key
- Bot's behaviour (attitude, preferences, etc)
- The number of messages to consider during the bot's response.
- The max number of tokens to use.
- A channel for the bot to respond in.
- The specific model you want to use (GPT-4, gpt-3.5-turbo, etc)