Commit Graph

11 Commits

Author SHA1 Message Date
Anna Schumaker 867b1edb24 Improve slackpost script
I also enable posting to IMs and return any error that we receive when
attempting to post.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2016-11-17 10:29:39 -05:00
Anna Schumaker 3027ec5ba7 Add support for fetching direct messages
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2016-11-16 15:52:42 -05:00
Anna Schumaker 2779e13692 Add channel url to slack email
This gives us a link directly to the channel to read messages there.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-11-16 09:39:46 -05:00
Anna Schumaker c5e15161bd slackpost: Updates for current email formatting
- Look for thread= lines
- Support posting to both channels and private groups

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-06-16 11:06:03 -04:00
Anna Schumaker 6859f8c3ec Add Group class
And pull more things out of the Channel class and into the Thread class.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-06-09 09:57:25 -04:00
Anna Schumaker ea0eeeb46c Send email to the authenticated user's email address
This is better than hardcoding in my address.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-27 09:12:05 -04:00
Anna Schumaker bbe14fa88d slack: change directory before running
To help find the tokens file, mostly

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 21:32:00 -04:00
Anna Schumaker b5d715096e Prepare text as an email message
Right now it's hardcoded to send to me.  This should be made
configurable eventually ...

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 16:52:55 -04:00
Anna Schumaker 23ac359ad7 slack: Add channels module and Channel class
This patch begins a new main loop using the new Channel class.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 15:21:13 -04:00
Anna Schumaker 02b610e671 slack: Add a wrapper for the auth API call
This module sets up the token to be used for most API calls.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 15:15:36 -04:00
Anna Schumaker f5af3107d5 slack: Begin API wrapper directory
I think this will make things easier to work with overall

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 14:40:01 -04:00