A Slack bot that will inform channels of away users when mentioned with the
@ symbol. Only posts in channels when users have set an away message, and
when those users are not active.
Away Bot can be used in a private message to
awaybot, or by mentioning it
in a channel that it's a member of.
The following commands are available:
get: Gets the current away message for your user.
get @username: Gets the current away message for the username provided.
set [message]: Sets the current away message for your user.
clear: Removes the current away message for your user.
help: Displays the help menu.
You can run Away Bot manually with the following command:
$ token=BOT_API_TOKEN node src/index.js
A docker image is also provided at
Alternatively, you can use the Dockerfile provided:
$ docker build -t awaybot . $ docker run --env token=BOT_API_TOKEN -d awaybot