Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.17 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.17 KB

CodeRunBot (gaato bot)

What is this

CodeRunBot

It can run codes and render LaTeX.

gaato bot

This is a bot for internal use that adds other functions to CodeRunBot. Also, this is for Japanese speakers.

Links

Requirements

How to run (CodeRunBot)

Set CODERUNBOT_TOKEN in the .env.

with venv (recommended)

$ source /path/to/venv/bin/activate
$ pip install pip-tools
$ pip-sync
$ python -m bots

without venv

$ pip install -r requirements.txt
$ python -m bots

How to run (gaato bot)

Basically the same as CodeRunBot, but set .env to GAATO_BOT_TOKEN, GOOGLE_API_KEY and WOLFRAM_APPID and the execution command is as follows. You also need ffmpeg.

$ python -m bots -g

For developer

Pull requests are welcome. Please use pip-tools to manage packages. Do not rewrite requirements.txt by hand.