Public | Automated Build

Last pushed: 2 years ago
Short Description
A slack hubot
Full Description

myhubot

myhubot, a Slack [Hubot][hubot] bot mainly focused on maintenability.

Change bot name

The bot name is specified at ./config.env. You can change the bot name by 2 ways.

  1. Just update ./config.env

  2. pass env HUBOT_USER_NAME=your_bot_name

Usages

List available commands.

myhubot> myhubot help

Update, restart, reboot. Reboot message is configured at ./config.env.

myhubot> myhubot update
myhubot> myhubot reload
myhubot> myhubot reboot

Run gotty with bash

myhubot> myhubot gotty
myhubot> now gotty with bash running at port `8081`

Running on docker

docker run -e HUBOT_SLACK_TOKEN=... -p 8080:8080 -p 8081:8081 hell0again/myhubot
# or if you want to provide envs from file
docker run -v path_to_env_file:/yohubot/.env -p 8080:8080 -p 8081:8081 hell0again/myhubot

Running locally with slack adapter

bin/hubot_slack
# or run as daemon
bin/hubot_slack_daemon

Running locally with shell adapter

bin/hubot

.env vs config.env

see

dotenv
12factor

Docker Pull Command
Owner
hell0again
Source Repository