Skip to content

A slack-hubot integration for interacting with the Bungie Destiny API

Notifications You must be signed in to change notification settings

cprater/slack-destiny-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-destiny-bot

A slack-specific hubot integration to interact (readonly) with the Bungie Destiny API.

A hubot slack adapter is needed to operate.

This is mostly practice in me learning coffeescript and messing around with a hubot integration for my friends slack domain. So, no pull requests or comments.

There are a few commands that return information about players, at this point it's mostly gear lookups by a gamertag (only for xbox one at this time).

COMMANDS

  • <bot-name> armory <gamertag> - Returns that players Grimoire Score.
  • <bot-name> played <gamertag> - Returns that players Last played character and lightlevel
  • <bot-name> inventory <gamertag> - Returns that players Last played character's equipped inventory
  • <bot-name> vendor xur - Returns Xur's Inventory or a warning when he isn't available
  • <bot-name> q <query> - Enter a to search the Bungie armory, such as "Telesto", and recieve information on that item

Installation

You will need to have hubot setup with the slack-adapter

Run the following command

$ npm install slack-destiny-bot

Then to make sure the dependencies are installed:

$ npm install

To enable the script, add a slack-destiny-bot entry to the external-scripts.json file (you may need to create this file).

["slack-destiny-bot"]

You will need to get a BUNGIE_API_KEY which you can get here

You will need to set the key as a config variable wherever you plan to host your hubot Mine is hosted on heroku so I use the following command

heroku config:set BUNGIE_API_KEY=<your-key>

About

A slack-hubot integration for interacting with the Bungie Destiny API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published