Skip to content

reagent-systems/summariser-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Summariser Bot

A Discord bot that summarises chat conversations using Google's Gemini AI.

Features

  • /summarise slash command to summarise recent messages
  • Optional parameter to specify number of messages (1-100, default: 10)
  • Uses Google Gemini for intelligent summarisation
  • Ignores bot messages for cleaner summaries

Setup

  1. Install dependencies:

    pip install -r requirements.txt
  2. Create a .env file from the example:

    cp .env.example .env
  3. Fill in your API keys in .env:

    • DISCORD_TOKEN: Your Discord bot token
    • GEMINI_API_KEY: Your Google Gemini API key
  4. Run the bot:

    python main.py

Getting API Keys

Discord Bot Token

  1. Go to Discord Developer Portal
  2. Create a new application
  3. Go to the "Bot" section
  4. Create a bot and copy the token

Google Gemini API Key

  1. Go to Google AI Studio
  2. Create a new API key
  3. Copy the key

Usage

Once the bot is running and added to your server:

  • Use /summarise to get a summary of the last 10 messages
  • Use /summarise messages:20 to summarise the last 20 messages (max 100)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages