Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 948 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 948 Bytes

CapyBot

cover

CapyBot is a Discord bot with OpenAI integration, featuring various commands and AI-powered conversations.

Features

  • Ping command
  • Weather information
  • Random jokes
  • Capybara facts
  • Dice rolling
  • AI-powered conversations using OpenAI's GPT-4o

Setup

  1. Clone the repository
  2. Install dependencies: npm install
  3. Create a .env file with your Discord bot token, OpenAI API key, and Weather API key
  4. Start the bot: npm start

Commands

  • /ping: Ping the bot
  • /weather <location>: Get weather information for a location
  • /joke: Get a random joke
  • capyfact: 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.

License

MIT