Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indream/werewovlesbot
A Telegram Bot to play Werewovles
https://github.com/indream/werewovlesbot
Last synced: 26 days ago
JSON representation
A Telegram Bot to play Werewovles
- Host: GitHub
- URL: https://github.com/indream/werewovlesbot
- Owner: inDream
- License: mit
- Created: 2015-11-15T10:51:59.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-22T17:10:40.000Z (about 9 years ago)
- Last Synced: 2023-06-02T16:26:53.053Z (over 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 2
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WerewovlesBot
A Telegram Bot to play Werewovles.
Built with [Node.js](http://nodejs.org), [Redis](http://redis.io/) and [PostgreSQL](http://www.postgresql.org/).## Modules
- Game Lobby
- Game Room
- Group announcement
- Private message
- Auto action
- Game History
- Chat History## Commands
- Group commands
- `/start`
- To start a new round and generate gameid
- `/guess [playername]`
- To guess [playername] to be the killer
- System will broadcast the result to group, if true, the round is ended.
- Private commands
- `/playerlist [gameid]`
- Display current alive player for specific game
- `/choose [gameid] [n]`
- To choose nth player to perform action
- Game Initiator (Admin) commands
- `/timeout [gameid]`
- Set action timeout (in seconds) for specific game
- `/cardset [gameid] [n]`
- Set predefined cardset for specific game
- `/end [gameid]`
- End the specfic game
## Game Default Config
- Action Timeout: 5 mins
- Card set: 2 Werewolves, 1 Seer / Fortune Teller, 1 Witch, 1 Cupid / Lovers, the rest Villagers[![Analytics](https://ga-beacon.appspot.com/UA-63394763-2/WerewovlesBot/readme?pixel)](https://github.com/igrigorik/ga-beacon)