Skip to content
/ Sushi Public

A rewrite of the rewrite of my discord bot Sushi because 2 people asked and Im bored

License

Notifications You must be signed in to change notification settings

Arikatsu/Sushi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sushi

A Discord bot written in Rust that serves absolutely no purpose but here I am rewriting it for the 4th time yet NO one asked.

Note: This bot is currently under heavy development. Features and commands are not final and may change frequently.

Setup

Prerequisites

  • Rust (2024 edition)
  • Discord Bot Token
  • Google Gemini API Key

Installation

  1. Clone the repository:
git clone https://github.com/Arikatsu/Sushi
cd sushi-rs
  1. Copy the example configuration:
cp config.example.toml config.toml
  1. Edit config.toml with your credentials:
[bot]
discord_token = "YOUR_DISCORD_BOT_TOKEN"
client_id = 123456789012345678
owner_id = 123456789012345678
test_guild_id = 123456789012345678

[ai]
gemini_api_key = "YOUR_GEMINI_API_KEY"
advice_instruction = "Give helpful life advice"
message_event_instruction = "Respond to messages naturally"
allowed_guilds = [123456789012345678]  # Guilds that can use AI features through message events
global_cooldown_seconds = 3600
  1. Build and run:
cargo build --release
cargo run --release

Development

Debug Mode

In debug builds, commands are registered to the test guild only for faster testing. In release builds, commands are registered globally.

Version History

  • v4: Current Rust rewrite with Gemini AI integration
  • v3: Previous rewrite in C#
  • v1 & v2: Original versions in JS

About

A rewrite of the rewrite of my discord bot Sushi because 2 people asked and Im bored

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •