CAS ban checker Telegram bot https://t.me/cas_ban_bot
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nikita Kolmogorov f1004bad3a
Run on Node 22 (Node.js Oct 2026 security release) (#1)
* Run on Node 22 (Node.js Oct 2026 security release)

Node 16 is EOL and gets no fixes for the Oct 21 2026 security release.
Switch .nvmrc to v22 and pin the Nixpacks nixpkgs archive so the build
uses nodejs_22.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Pin nixpkgs 6d514b9bf155 for Node 22.23.4

All Nixpacks apps now generate a byte-identical Nix layer, so Node 22.23.4
is compiled once on the build host and reused from Docker's layer cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Pin nixpkgs to Hydra-built release-26.05 (nodejs 22.23.4 cached)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 19:23:32 -07:00
.github Add funding links 2026-10-08 15:24:21 -07:00
locales Initial commit 2021-03-21 07:22:46 -07:00
src fix forwards 2021-06-26 10:08:55 -07:00
.env.sample fix readme and dependencies 2021-03-21 07:31:32 -07:00
.gitignore Initial commit 2021-03-21 07:22:46 -07:00
.nvmrc Run on Node 22 (Node.js Oct 2026 security release) (#1) 2026-10-21 19:23:32 -07:00
LICENSE Initial commit 2021-03-21 07:22:46 -07:00
nixpacks.toml Run on Node 22 (Node.js Oct 2026 security release) (#1) 2026-10-21 19:23:32 -07:00
package.json finish bot 2021-03-21 08:31:04 -07:00
README.md fix readme and dependencies 2021-03-21 07:31:32 -07:00
tsconfig.json finish bot 2021-03-21 08:31:04 -07:00
yarn.lock finish bot 2021-03-21 08:31:04 -07:00

Code for the @cas_ban_bot Telegram bot

Bot that checks whether a user is banned by CAS.

Installation and local launch

  1. Clone this repo: git clone https://github.com/backmeupplz/cas_ban_bot
  2. Create .env with the environment variables listed below
  3. Run yarn in the root folder
  4. Run yarn develop

And you should be good to go! Feel free to fork and submit pull requests. Thanks!

Environment variables

  • TOKEN — Telegram bot token

Also, please, consider looking at .env.sample.

Continuous integration

main branch of this repository gets automatically deployed to @cas_ban_bot via ci-ninja.

License

MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!