Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jazzpi/lobbysim
A bot that facilitates creating community games for Age of Empires 2
https://github.com/jazzpi/lobbysim
Last synced: 11 days ago
JSON representation
A bot that facilitates creating community games for Age of Empires 2
- Host: GitHub
- URL: https://github.com/jazzpi/lobbysim
- Owner: jazzpi
- Created: 2016-01-01T21:49:24.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-23T22:03:28.000Z (almost 9 years ago)
- Last Synced: 2023-02-26T19:17:01.933Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lobby Simulator
A bot that facilitates creating community games for Age of Empires 2Picks random winners from people entering the drawing in a Twitch chat and then invites them to a Steam group chat.
When entering a drawing for the first time (with the `!play` command), you need to add a link to your Steam profile so the bot knows
who to allow into the Steam chat. The bot then saves your Steam profile so you will afterwards be able to enter the drawing
using just `!play` without any arguments.## Commands
Command | Required Level | Description
-----------------------------------:|:--------------:|:-----------
**!play** *link to steam profile* | User | Enter the drawing
**!quit** | User | Leave the drawing (remove all tickets)
**!winners** | User | Show all winners of the last drawing
**!draw open** | Moderator | Open a new drawing
**!draw close** *number of winners* | Moderator | Closes a drawing and picks winners
**!draw reroll** *previous winner* | Moderator | Reroll and replace *previous winner*## Setup
Clone the repository, then `npm install .` to install the dependencies. If you want to use sqlite3 for your database, you'll
also need to install sqlite3 with `npm install sqlite3 --save`. Afterwards, configure the bot in a `config.json` that you will
need to create. See `config.json.sample` for an example.