Skip to content

Instantly share code, notes, and snippets.

View Joffcom's full-sized avatar
🍍
PIneappleOps

Jon Joffcom

🍍
PIneappleOps
View GitHub Profile
{
"meta": {
"instanceId": "8c8c5237b8e37b006a7adce87f4369350c58e41f3ca9de16196d3197f69eabcd"
},
"nodes": [
{
"parameters": {
"respondWith": "noData",
"options": {
"responseCode": 500

Keybase proof

I hereby claim:

  • I am joffcom on github.
  • I am joffcom (https://keybase.io/joffcom) on keybase.
  • I have a public key ASDuCU05ql1f989ss4N0v4jTedlN_ALMqkjGYt_L94WHgQo

To claim this, I am signing this object:

@Joffcom
Joffcom / huebot.js
Last active June 12, 2019 18:45
Set Hue light to red for 2 seconds when certain words are mentioned in Slack
var Botkit = require('botkit');
var unirest = require('unirest');
var botToken = 'SLACK_BOT_TOKEN';
var hueBridge = 'IP_OF_HUE_BRIDGE';
var hueUser = 'HUE_USER_ID_FROM_BRIDGE';
var controller = Botkit.slackbot({
debug: false
});