This bot allow you to play The Resistance: Avalon game in a telegram group.
The rules for the game: https://www.ultraboardgames.com/avalon/game-rules.php
The bot is designed with the notion that you play with your friends offline. The bot is just a guide through the game when you don't have physical copy with you. But you can also just play online.
You have 2 options to enable this bot:
-
Add @AvalonTextBot to your chat group. (Might be offline since it's hosted on free heroku)
or
-
Clone this repo, host it somewhere you like and create your own bot with the help of @BotFather.
- Everyone who wants to play must start private convo with the bot (Go to bot DMs and press start);
- You can configure additional roles by using /roles command. By default game has Merlin, Assassin, Minion and Servant;
- Start the game with /new command
Note that /new resets game progress so if you run /start in the middle of a game - it would be overwritten.
- Everyone who wants to play should press Join. After that press "start game" to begin;
- After that the bot will take you on a chain of messages with instructions which should be easy to follow. See notes bellow
-
Most menu's have "confirm" buttons. Only current leader(except for Assassin menu) can press them. This is to prevent menus from unexpected behavior.
-
DO NOT Press on the menu buttons repeatedly! It may break the bot!
Due to the nature of telegram menus and how updates are handled repeated presses may lead to unexpected behavior. BE PATIENT If it appears that the bot is stuck - just wait for 1 minute before pressing again - it may have hit request rate limit and needs time to cooldown.