1
0
Fork
You've already forked roll_bot
0
No description
  • Rust 98.9%
  • Nix 1.1%
2026年07月13日 21:31:33 +03:00
lib Replace EntityKind with per-collection formatter fn pointer 2026年07月13日 21:31:33 +03:00
libroll Replace EntityKind with per-collection formatter fn pointer 2026年07月13日 21:31:33 +03:00
src Replace EntityKind with per-collection formatter fn pointer 2026年07月13日 21:31:33 +03:00
.envrc Fix default collections, new repo path 2025年10月12日 22:11:55 +03:00
.gitignore Update flakes 2024年09月06日 17:25:22 +03:00
.gitlab-ci.yml Enable CI on feature branches 2022年10月16日 15:31:13 +03:00
Cargo.lock Replace EntityKind with per-collection formatter fn pointer 2026年07月13日 21:31:33 +03:00
Cargo.toml Replace EntityKind with per-collection formatter fn pointer 2026年07月13日 21:31:33 +03:00
CHANGELOG.md #39 : Fix roll regex 2020年09月12日 23:23:56 +03:00
CONTRIBUTING.md #30 : Update only when there are changes 2020年09月06日 17:22:41 +03:00
flake.lock Replace EntityKind with per-collection formatter fn pointer 2026年07月13日 21:31:33 +03:00
flake.nix Add meta.mainProgram to nix package 2025年10月17日 11:07:10 +03:00
LICENSE Update license to AGPL 2020年11月04日 10:07:17 +02:00
README.md Fix default collections, new repo path 2025年10月12日 22:11:55 +03:00
result refactor: extract dice parser into lib/libroll crate (stage 1) 2026年06月28日 01:00:27 +03:00
rust-toolchain.toml Add flake 2024年06月27日 00:33:42 +03:00
rustfmt.toml Convert to tabs :) 2022年09月27日 11:17:51 +03:00
TODO.md feat: add pathfinder support 2026年06月28日 01:11:53 +03:00

DungeonBot

Telegram Bot for D&D 5e players. You can test it here.

Implemented features:

  • Roll a die
  • Search for spell reference
  • Search for monster reference
  • Search for items reference

Before launch

The only thing needed to get the bot running is to set ROLL_BOT_TOKEN environment variable. You can obtain this token from the BotFather

Running through Tor Network

Since Telegram might be blocked in some countries, it makes sense to use Tor Network to get messages.

  1. Install tor package from your linux distribution's repository.
  2. Add line HTTPTunnelPort 9080 somewhere in /etc/tor/torrc config file
  3. Start tor service: systemctl start tor You now have two ports open: 9050 as SOCKS5 proxy and 9080 as HTTP. Unfortunately, we don't support SOCKS5 proxy at the moment.
  4. Set roll_bot_http_proxy environment variable: export roll_bot_http_proxy=http://localhost:9080 or set -x roll_bot_http_proxy http://localhost:9080 if you're using fish shell.

Data Source Concerns/Issues?

This project's data is pulled from a 3rd party source, and typos or questions are best presented there.