/akane-bot

Akane: discord bot in rust

Primary LanguageRustGNU Affero General Public License v3.0AGPL-3.0

akane-bot

Akane: Discord Bot written in Rust

Commands

prefix is !
  • Mute
  • Unmute
  • Gulag
  • Ungulag
  • Ban
  • Unban
  • Ping
  • Latency
  • Avatar

Mute/Gulag/Ban

!mute <user mention or id>

Uinfo

!uinfo <user mention or id>

Avatar

!avatar <user mention or id>


Host yourself for your own server

  1. Clone repository and build with cargo build
    cargo build
    
    or
    cargo build --release
    
  2. Setup a postgresql instance
  3. Setup your custom bot app on discord and obtain its token
  4. Create a .env file with the following data
    AKANE_BOT_TOKEN="YOUR BOT TOKEN"
    DATABASE_URL=postgres://your@own/database
    
  5. Obtain the diesel-cli tool and run the following command on the project directory
    diesel migration run
    
  6. Setup "Muted" and "Gulag" roles with the permissions you want them to have
  7. Setup an "akane-logging" channel