Skip to content

fierysolid/adventure-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

IF in Slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.5%
  • Shell 1.5%