Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 643 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 643 Bytes

mathsbot

Discord bot to render mathematics from messages using LaTeX.

screenshot of example usage in Discord

Currently, it picks up maths between single-dollar-sign delimiters or in \begin{}...\end{} environments, and is not capable of displaying non-inline LaTeX blocks.

The rendering process pipes the message through PDFLaTeX using the standalone document class, then gets a png file with ImageMagick, which is uploaded to Discord.

The bot also supports updating edited messages.