Skip to content

geluso/slack_typing_indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Typing Indicator

Maintains a constant presence of "User is typing..." in whatever Slack channels are defined.

Demo

Video Demo

Review HISTORY.md for a review of novel commands used here. Posted for posterity.

Install

bundle install
rake channels

Configuring Token

This script requires configuring a Slack access token. I chose to add the token to a variable in my bash profile and export it from there.

Visit Slack's website to generate tokens. Make sure you're logged in via their web client in order to get tokens for different workspaces to appear.

Add the token you get there to your bash profile like:

.bash_profile

export SLACK_API_TOKEN="xoxp-XXXXXXXXXX-XXXXXXXXXXXX-XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" 

Targeting Channels

Modify the interested_channels array of strings in bin/channeler.rb to target the names of which channels you want to maintain typing presence in.

bin/channeler.rb

interested_channels = [
  'seattle-web-071519',
  'seattle-web-080519',
  'seattle-web-082619',
  'seattle-random',
  'hot-nuggets',
  'all-about-code',
  'seattle-brogue',
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published