Skip to content

babldev/slack-missiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Missile Launcher

Fire missiles at your enemies via Slack! For example /shoot ben.

Launcher Gif

Requires the Dream Cheeky missile launcher.

Setup

Run the webserver locally with the device attached

This server will receive commands from Slack.

cp settings_sample.py settings.py
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python missile.py

Expose the webserver to the public

One quick and dirty way to do this is with ngrok

Add the Slack command hook

Add a Slack command hook and point it to your webserver: http://yourserver.com/slack

Test the connection

Does /shoot right 1000 move the device for 1 second?

Update settings.py

The format is [X, Y], declaring how much the device moves right and then up before shooting. Add a slackbot remote control command if you'd like to have launch alerts.

Notes

Based on code by https://github.com/codedance/Retaliation

The code is super hacky right now, but it works.

About

Shoot your enemies (with foam missiles) via Slack!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages