D&D slash commands for slack
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets initial commit Jun 9, 2014
.gitignore initial commit Jun 9, 2014
index.js generalizing the hostname Jun 9, 2014
package.json 0.0.1 Jun 9, 2014
readme.md updating readme Jun 9, 2014

readme.md

Slack D&D

A collection of endpoints to help you play D&D in your slack chat room.

Requirements

  1. A publically accessible server running node (or abilty to reverse proxy back to your node server);
  2. node.js

Installation

npm i -g slack-dnd
slack-dnd --host [hostname || 127.0.0.1] --port [port || 3000] --token [Your Slack integration token] --group [Group ID to restrict usage to]

Slack set up

If you add a custom emoji for the :dm: command, it'll use that as the avatar for the icon. I highly recommend using a visage of dungeon master from the 80s D&D cartoon!

Dice

  1. Add a new slash command with the following settings:
  • Command: /roll
  • URL: http://yourhost.com/roll
  • Method: get
  • Label: roll dice!
  1. Set up a new incoming webhook
  • Choose a channel to integrate with (this doesn't matter -- it'll always respond to the channel you called it from)
  • Get your token from this page (this is what you'll use when you launch the server)

Or if you like pictures: slash command

webhook