Skip to content

Latest commit

 

History

History
68 lines (49 loc) · 2.14 KB

README.md

File metadata and controls

68 lines (49 loc) · 2.14 KB

Adventure Bot! w/ Improved Docs

Text adventures in Slack uses:

Setup

Create an Incoming WebHook in Slack

  1. Sign into Slack Services
  2. Create a channel for your adventures alt text
  3. Customize Name of your bot alt text
  4. Expand the setup card alt text
  5. Save the hash after the last / in the Webhook URL, it is your Slack Token alt text
  6. Save Settings

Create an Outgoing WebHook in Slack

  1. Select the channel you created to listen on alt text
  2. Set the URL for your message server alt text
  3. Customize Name of your bot alt text
  4. Save Settings

Set your domain and token

  1. Clone this repo onto your server
  2. Inside sender.rb change the url variable to your domain and Slack Token
url = 'https://<yourdomain>.slack.com/services/hooks/incoming-webhook?token=<yourtoken>'
  1. Save file

Running

make sure you have ruby installed, then run the following commands

gem install bundler
bundle
bundle exec ./start.sh
you may run bundle exec ./start.sh with a daemon or as a detached screen/tmux to keep it running

Start typing inside your new channel!