CapyBot is a Discord bot with OpenAI integration, featuring various commands and AI-powered conversations.
- Ping command
- Weather information
- Random jokes
- Capybara facts
- Dice rolling
- AI-powered conversations using OpenAI's GPT-4o
- Clone the repository
- Install dependencies:
npm install
- Create a
.env
file with your Discord bot token, OpenAI API key, and Weather API key - Start the bot:
npm start
/ping
: Ping the bot/weather <location>
: Get weather information for a location/joke
: Get a random jokecapyfact
: Get a random capybara fact/roll [sides]
: Roll a die (default: 6 sides)/image [prompt]
: Generate an image using pollination AI
To chat with the AI, mention the bot in your message.
MIT