ropensci/hubot

Name: hubot

Owner: rOpenSci

Description: Hubot scripts for rOpenSci

Created: 2014-03-16 21:21:14.0

Updated: 2015-11-20 10:30:00.0

Pushed: 2014-03-17 01:14:22.0

Homepage: null

Size: 148

Language: CoffeeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Hubot scripts for rOpenSci

Some slackbot commands that work in public rooms

ause|applaud|bravo|slow clap - Get applause
(or afk, or bbl)
g - {user: <user object to send message to>}
kbot <user> doesn't have <role> role - Removes a role from a user
kbot <user> has <role> role - Assigns a role to a user
kbot <user> is a badass guitarist - assign a role to a user
kbot <user> is not a badass guitarist - remove a role from a user
kbot animate me <query> - The same thing as `image me`, except adds a few parameters to try to return an animated GIF instead.
kbot announce "<message>" - Sends a message to all slackbot rooms.
kbot announce downtime complete for "<service>" - Syntactic sugar for announcing downtime completion
kbot announce downtime for "<service>" starting <timeframe> - Syntactic sugar for announcing downtime commencement
kbot die - End slackbot process
kbot echo <text> - Reply back with <text>
kbot fake event <event> - Triggers the <event> event for debugging reasons
kbot help - Displays all of the help commands that slackbot knows about.
kbot help <query> - Displays all help commands that match <query>.
kbot i am <available|free|not busy|at hand> - Set that you are available
kbot i am <unavailable|dnd|do not disturb|busy|in the zone> - Setthat you are not available
kbot image me <query> - The Original. Queries Google Images for <query> and returns a random top result.
kbot is <user> available - Find out if the specified user is available or not
kbot map me <query> - Returns a map view of the area returned by `query`.
kbot mustache me <query> - Searches Google Images for the specified query and mustaches it.
kbot mustache me <url> - Adds a mustache to the specified URL.
kbot ping - Reply with pong
kbot pug bomb N - get N pugs
kbot pug me - Receive a pug
kbot show storage - Display the contents that are persisted in the brain
kbot show users - Display all users that slackbot knows about
kbot the rules - Make sure slackbot still knows the rules.
kbot time - Reply with current time
kbot translate me <phrase> - Searches for a translation for the <phrase> and then prints that bad boy out.
kbot translate me from <source> into <target> <phrase> - Translates <phrase> from <source> into <target>. Both <source> and <target> are optional
kbot weather - Get the weather for slackbot_DARK_SKY_DEFAULT_LOCATION
kbot weather <location> - Get the weather for <location>
kbot what role does <user> have - Find out what roles are assigned to a specific user
kbot who has admin role - Find out who's an admin and can assign roles
kbot who is <user> - see what roles a user has
kbot youtube me <query> - Searches YouTube for the query and returns the video embed link.
astic applause|clap - Get sarcastic applause
 it - Display a motivation squirrel

You can also run slackbot help in any room to get a more up to date list.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.