0.0.3 • Published 10 years ago
hubot-slack-hohho-utils v0.0.3
Hubot Slack Hohho Utilities
This script add some scripts and util
Adding to Your Hubot
npm install hubot-slack-hohho-utils --save- Open the
external-scripts.jsonfile in the root directory (you may need to create this file) and add an entry to the array (e.g.[ 'hubot-slack-hohho-utils' ]).
Commands
slack say <hogehoge>- Bot speaks to Random Groupslack repeat <hogehoge>- Bot repeats to the Group
Utils
getUsers- Get All UsersgetUserId- Get user.id from user.nameimageMe- Same as default image me commandsacrifice- hohho-
Example
robot.util.getUserId('hoge')