This was done just as a proof of concept to test the Glitch hosting / editing service by remixing the /count
command.
The app implements a simple random roll command, that returns a random element from a list of options: /roll [title? |] <option1>, <option2>, <option3>
.
Example input: /roll Nice restaurant, Nicer place, Fast food, Pizza, Kebab
You can also add a roll title: /roll Who owes me a beer? | Everyone, Yes, Are we there yet?
To get started you need to:
- Add a Slash Command configuration to your Slack integrations
- Copy the generated Command Token
- Add your token to the
.env
file
For more detailed setup instructions, see setup.md
.