View on GitHub

coderunbot

The Discord bot that can run codes and render LaTeX.

Bot help

Index

Intoroduction

This Bot is made by Gart (@gaato__).

Here is the discord server.

Commands

run

]run language
code

runs your code.

And the bot ignores “```” for a code block.

Example

]run python
print('hello')

Languages

save

]save language
code

saves your code. You can call it by sending as follows.

]run saved
standard input

tex

]tex
math commands

images your math commands.

And the bot ignores “```” for a code block.

It uses LaTeX gather* environment.

Example

]tex
\int_0^1 f(x)\,dx

texp

]texp
LaTeX text

images your LaTeX text.

And the bot ignores “```” for a code block.

It uses LaTeX text mode.

Example

]texp
For real constants $a,b,c$ the solution of the quadratic equation
\[
  ax^2+bx+c=0
\]
for complex number $x$ is
\[
  x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
\]
.