Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/cptspacetoaster/adventurebot

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cptspacetoaster/adventurebot

  • v0.0.0-20150226031501-250294706c44
  • Source
  • Go
  • Socket score

Version published
Created
Source

adventurebot

A silly text based adventure that gloriously mangled the framework to build bots for Slack.... thank you trinchan

Dependencies

Schema - go get github.com/gorilla/schema

Installation

Is this your first project in GO? You might find this introduction useful

go get github.com/cptspacetoaster/adventurebot

Setup

Create a config file (config.json) in $GOPATH/bin with the following format:

{
    "port": {PORT_FOR_BOT},
    "credentials": [
        {
            "domain": "{YOUR_FIRST_SLACK_DOMAIN}",
            "token": "{YOUR_FIRST_SLACK_INCOMING_WEBHOOK_TOKEN}"
        },
        {
            "domain": "{YOUR_SECOND_SLACK_DOMAIN}",
            "token": "{YOUR_SECOND_SLACK_INCOMING_WEBHOOK_TOKEN}"
        }
    ]
}

Adventurebot will respond to an Outgoing Webhook. (hard set for patterns that begin with question-mark's at the moment) and it will reply using an Incoming Webhooks

You'll need to find your Incoming Webhook Token and pair each slack domain with its token if you want Adventurebot to respond.

Note, adventurebot will only pay attention to commands that begin with a question-mark! That means your Outgoing Webhook must have this option set properly. This is currently mandatory

TODO: Lots

Adding Rooms, and other configurations

TODO: copy the blank.json and fill in the fields... more to come, and I'm not completely finished with the formatting at the moment.

Running the Executable

cd $GOPATH/bin
./adventurebot

FAQs

Package last updated on 26 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc