Skip to content
 
 

Repository files navigation

ilo sona

A utility bot for the kama sona Discord server.

Usage

This project is managed by pdm and deployed with docker compose.

To develop: make init

Copy sample.env to .env and add your BOT_TOKEN:

BOT_TOKEN=YOUR_BOT_TOKEN
LOG_LEVEL=info
TEST_SERVERS=
SQLITE_DB="/project/db/ilo_sona.sqlite"

Build/update container: make build

Run bot in container: make up

Check on bot status: make logs

Shut down bot: make down

Refresh (useful for dev): make down build up

Commands

  • /config: Add a record of the current server into the database.
    • Takes challenge channel, approval channel, challenge role, approval role, and current challenge number.
  • /submit: Pop up a modal to submit a sentence for translation!
  • /start_challenge: Debug command that begins a challenge.

Future features

  • What if you could refresh challenge via the approval modal?
  • What if you could refresh a challenge by submitting it again?
  • What if you could see upcoming challenges?
  • What if challenges could be toki pona, prompting you to translate into English etc?

Future fixes

  • What if we didn't use goddamn crc32?

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages