Skip to content

Instantly share code, notes, and snippets.

@mydigitalself
Last active June 29, 2016 08:34
Show Gist options
  • Save mydigitalself/8e2f44918822c519351b to your computer and use it in GitHub Desktop.
Save mydigitalself/8e2f44918822c519351b to your computer and use it in GitHub Desktop.

Turret minions

Instructions

  1. npm install turret-minion
  2. visit https://gitter.im/LXJS/training-nodebots
  3. visit https://developer.gitter.im
  4. click signin
  5. copy your personal access token
  6. TOKEN=yourtoken ROOM=LXJS/training-nodebots node app.js

Commands

Lord Baron von Vader Ham (https://www.youtube.com/watch?v=Sv5iEK-IEzw) is a hubot script listening for trouble.

If anyone says "lordvader trouble in sector 3" in the nodebots room, Lord Vader will instruct the minions to deal with the situation.

You can also use the following commands that the minions will listen to:

  • minions ARISE
  • minions to 2 o clock
  • minions FIRE AT THE THINGS!
  • minions left/right/up/down degrees (e.g. minions left 40 or minions down 20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment