Sends a message via Terminal to a user or channel in Slack. It's basically just a really simple command-line wrapper for SlackUtils.
Marks all Slack channels and private groups as read.
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'
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.)
None
None
Information about Slack is available on their website. Information about the Slack API is available here.
Written by Gem Newman. Website | GitHub | Twitter
This work is licensed under Creative Commons BY-SA 4.0.
Remember: GitHub is not my CV.