It can run codes and render LaTeX.
This is a bot for internal use that adds other functions to CodeRunBot. Also, this is for Japanese speakers.
- Python >= 3.14
- tex.gaato.net
Set CODERUNBOT_TOKEN in the environment file.
$ cd discord
$ uv sync --locked
$ uv run python -m bots$ python -m venv .venv
$ . .venv/bin/activate
$ pip install aiohttp google-api-python-client google-auth-oauthlib iso639-lang openai "py-cord[voice]>=2.6" python-dotenv
$ python -m botsBasically the same as CodeRunBot, but set the environment file to include GAATO_BOT_TOKEN, GOOGLE_API_KEY and WOLFRAM_APPID and the execution command is as follows. You also need ffmpeg.
$ GAATO_BOT=1 uv run python -m botsPull requests are welcome.
Please use uv to manage dependencies.
Do not rewrite uv.lock by hand.
For containerized or service-manager based deployment, keep secrets outside the repo and point the process at an environment file.
- Example file:
coderunbot.env.example TEX_BASE_URLdefaults tohttp://127.0.0.1:8080- The TeX renderer can be started with
HOSTandPORToverrides