Skip to content

beerpiss/chuninewbot

Repository files navigation

chuninewbot

Deploy State-of-the-art Shitcode Ruff

Discord bot for CHUNITHM International version.

I have a hosted instance that you can invite here, though uptime is sometimes flaky.

Features

  • Player data
  • Recent scores (including detailed judgements)
  • Best scores
    • b30 and recent 10
    • by song
  • Comparing scores
  • Song information
    • sdvx.in integration
  • Search tracks by internal level
  • Calculate play rating
  • Slash command support
  • Minigames (song quiz)

Setup instructions

  1. Install Python 3.11 or newer and Poetry
  2. Copy bot.example.ini to bot.ini and fill in values based on the comments.
  3. poetry install and poetry shell
  4. Run python dbutils.py create to create the database.
  5. Run python dbutils.py update chunirec to populate the song database. For this to work, credentials.chunirec_token must be set in bot.ini. A pre-populated database is also provided here, for your convenience.
  6. python bot.py

Credits

Thanks to these projects for making this bot possible and less miserable to make:

Thanks to all the contributors who took part.