Skip to content

LeoGPT is a Discord bot for fast, context-aware chat with media support, tool-driven web search and generation, auto-responses, and voice-channel music playback.

License

Notifications You must be signed in to change notification settings

excoffierleonard/leogpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeoGPT

LeoGPT is a Discord bot for fast, context-aware chat with media support, tool-driven web search and generation, auto-responses, and voice-channel music playback.

LeoGPT icon

Features

  • Conversational AI via OpenRouter API
  • Follows Discord reply chains for context
  • Processes images, videos, audio, and PDFs
  • Auto-responses triggered by user/message match rules
  • Built-in tools for Discord lookups and web search
  • Image and audio generation via OpenRouter
  • Voice channel music playback with fuzzy song search

Setup

Environment Variables

Create a .env file:

DISCORD_TOKEN=your_discord_bot_token
OPENROUTER_API_KEY=your_openrouter_api_key
MUSIC_S3_URL=https://your-bucket.s3.your-region.backblazeb2.com/your-music-prefix/
MEME_S3_URL=https://your-bucket.s3.your-region.backblazeb2.com/your-meme-prefix/
AWS_ACCESS_KEY_ID=your_s3_access_key_id
AWS_SECRET_ACCESS_KEY=your_s3_secret_access_key

Run with Docker

docker compose up -d

Usage

Mention the bot in Discord to start a conversation. Reply to its messages to continue the thread.

License

LICENSE

About

LeoGPT is a Discord bot for fast, context-aware chat with media support, tool-driven web search and generation, auto-responses, and voice-channel music playback.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •