A simple Discord bot that connects to an AI interface.
- Simple integration with many AI models and platforms
- Per-server and per-channel configuration
- Respond to many forms of Discord messages
- Per-channel memory
The bot requires certain environment variables to be set.
These can be done either within the environment (useful for Heroku and other hosts).
Alternatively, create a .env file in the directory from which you run the program.
The following environment variables are usable:
bot_token - The Discord bot token (Required, obviously)
ai_key - The AI Api Key (Optional)
base_url - The URL of the AI API (Optional - required if an OpenAI API Key is not provided)
Running the bot is as simple as executing the main.py file.
By default, users can mention the bot in a message and it'll respond to that message within the context of the channel.
- More configuration (personality traits, custom instructions, etc...)
- Support for multiple models at once (configurable by users)
- Allow for image generation
- Allow for audio input / output
- Tie audio system into Discord voice calls
Gippity's end goal is to be a reliable AI tool on the Discord platform, able to assume many roles as is needed.
It will also aim for a verbal component, able to integrate seamlessly into voice calls.