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.
- Node.js >= 24
- pnpm
Set CODERUNBOT_TOKEN in the environment file.
cd discord
pnpm install
pnpm build
pnpm startpodman build -t coderunbot discord
podman run --rm --env-file coderunbot.env coderunbotAdd -v ./discord/data:/app/data to persist the opt-out list across runs
when using the default local state backend.
Basically the same as CodeRunBot, but set the environment file to include GAATO_BOT_TOKEN and WOLFRAM_APPID, then run:
cd discord
GAATO_BOT=1 pnpm startWith Podman, add -e GAATO_BOT=1 to the podman run command instead.
Pull requests are welcome.
Please use pnpm to manage dependencies.
Do not rewrite pnpm-lock.yaml by hand.
TypeScript is pinned to the 6.x line because dependency-cruiser 18 does not
support TypeScript 7 yet.
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
Copyright (C) Gakuto Furuya
This program is free software, licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). If you run a modified version of this bot as a network service, the AGPL requires you to offer its source code to the users interacting with it.