Skip to content

Feature/latex - #174

Merged
Xarlos89 merged 3 commits into
masterfrom
feature/latex
Aug 17, 2026
Merged

Feature/latex#174
Xarlos89 merged 3 commits into
masterfrom
feature/latex

Conversation

@JefeThePug

Copy link
Copy Markdown
Collaborator

Description of your PR

Addition of the old LaTeX functionality from the first version of this Discord bot. Updated with the current Discord.py technology.

Added

  • LaTeX functionality by calling a LaTeX equation image-generating API

Changed

  • Combined color slash commands into one, and added functionality to correctly normalize the user-input colors

Checklist

  • Have your ran pre-commit over your PR?
  • Was this PR branched off from master?
  • Is this PR merging to master?

Changed how the API is called and as a result how it is displayed. This results in no need for separate bg and txt colors. One command shows colors.
Colors are now stored in constants as a dictionary to account for user variation in typing the colors with spaces and different capitalization, normalizing them to the correct syntax.
@JefeThePug

Copy link
Copy Markdown
Collaborator Author

Decided to stick with the slash command instead of going with a Modal because I hated the way they looked.

@Xarlos89
Xarlos89 merged commit 7001bfe into master Aug 17, 2026
1 check passed
@JefeThePug
JefeThePug deleted the feature/latex branch August 17, 2026 08:03
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.

2 participants