Skip to content

spurll/tell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tell

Sends a message via Terminal to a user or channel in Slack. It's basically just a really simple command-line wrapper for SlackUtils.

Mark

Marks all Slack channels and private groups as read.

Installation

Configuration

You'll need to create a file called config.py containing your token (which can be obtained from the Slack API page), the desired user name for your bot, and the URL of the image you'd like to use for its avatar. For example:

TOKEN = 'XXXX-XXXX-XXXX-XXXX-XXXX'
USER = 'BotName'
ICON_URL = 'https://secure.gravatar.com/avatar/AVATAR_URL.jpg'

Requirements

Running from Spotlight

Tell.app allows you to run tell from Spotlight on OS X. You'll need to open Tell.scpt and edit this line to point to the appropriate location:

set tell_script to "~/Development/tell/tell.py"

Export the script as an Application and copy Tell.app into your Applications directory.

(Mark.app works similarly.)

Bugs and Feature Requests

Feature Requests

None

Known Bugs

None

Slack

Information about Slack is available on their website. Information about the Slack API is available here.

License Information

Written by Gem Newman. Website | GitHub | Twitter

This work is licensed under Creative Commons BY-SA 4.0.

Remember: GitHub is not my CV.

About

Sends a message via Terminal to a user or channel in Slack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages