Skip to content

Update language colors by getting up-to-date data on startup (fixes #14) - #15

Open
mercurialworld wants to merge 5 commits into
object-Object:mainfrom
mercurialworld:update-language-colors
Open

Update language colors by getting up-to-date data on startup (fixes #14)#15
mercurialworld wants to merge 5 commits into
object-Object:mainfrom
mercurialworld:update-language-colors

Conversation

@mercurialworld

@mercurialworld mercurialworld commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

fixes #14 (seems i have to put this phrase in the PR description).

this downloads the lib/linguist/languages.yml from github-linguist/linguist directly on startup and populates the bot's language_colors from there.

the same repo from issue 14 except the C# color is a beautiful #7355dd as michaelsoft intended. no i'm not listening to the last 30 seconds of hungry by ourbirthday in a 10 minute loop

as a side note, i had to add immutable_subject_claims=False to your infrastructure stack stuff due to rye syncing and updating dependencies.

doesn't yet solve the "new language with color is added while the bot is
up and i don't wanna restart the bot" issue but we'll workshop that
this is because of commit 730d87e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

languages.yml is super outdated

1 participant