Skip to content

rfratto/awaybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Away Bot

Build Status

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.

Usage

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.

Running

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 rfratto/awaybot.

Alternatively, you can use the Dockerfile provided:

$ docker build -t awaybot .
$ docker run --env token=BOT_API_TOKEN -d awaybot

About

A Slack bot to track away statuses

Resources

License

Stars

Watchers

Forks

Packages

No packages published