No release in over 3 years
Mark your Slack user as active when auto-away kicks in
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1
>= 0
~> 13.0
~> 3.0

Runtime

 Project Readme

slack-keep-presence

Marks a slack user as active when auto-away kicks in. Useful for keeping slack bots online.

Inspired by slack-keep-presence. This is basically a ruby port with only the presence functionality retained.

Features

  • Uses websockets to connect to Slack's real time api to track presence
  • Automatically reconnects if the connection drops and comes back

Installation

gem install slack-keep-presence

Usage

SLACK_TOKEN=<your_token> slack-keep-presence

Or set SLACK_TOKEN environment variable beforehand

slack-keep-presence

You can get a token linked to your user at https://api.slack.com/docs/oauth-test-tokens