No description
  • Python 84.7%
  • JavaScript 15.3%
Find a file
2026-09-05 15:57:34 +03:00
.vscode meow 2026-09-04 18:48:32 +03:00
gas hi 2026-09-03 01:35:03 +03:00
.gitignore hi 2026-09-03 01:35:03 +03:00
diff.py space between prefix and box drawing 2026-09-05 15:57:34 +03:00
LICENSE license 2026-08-16 15:33:00 +03:00
main.py those who test in prod 2026-09-04 22:10:18 +03:00
README.md Update README.md 2026-09-02 23:17:06 +00:00
requirements.txt snowflake liberals and their colored logs smh 2026-09-03 02:07:29 +03:00
sheet_session.py meow 2026-09-04 18:48:32 +03:00

Matcha Localizations Bot

This is a Discord bot for automating various tasks for the Matcha Flavoured localization project. Currently, it:

  • Allows a list of whitelisted users manage who can edit the sheet, since Google doesn't let you grant permission management selectively
  • Logs updates to the localization keys with a nicely formatted diff
  • Is not really that good

Selfhosting

Caution

The bot is designed very specifically for the use cases of the project. It probably won't be very helpful for you, though you can run it yourself if you want to.

On the Sheets side, you need an Apps Script project deployed as a web app running on your behalf such that the bot can interface with the sheet. See gas/Code.js

You also need these, either in .env or as environment variables:

TOKEN=[Discord bot token]
GAS_URL=[Apps Script deployment URL, ends with /exec]
WHITELIST=[whitelisted users, comma-separated without spaces]
DIFF_LOG_CHANNEL_ID=[channel to log key updates to]