Skip to content

deepakbabel23/automation

Repository files navigation

Free Send later utility for Slack!!

Sample fun utility which can help you send a message to a recipient on slack at your own convenient time(same day) without you have to open and draft the message. You should also pass your "status" info(Show as Active/Show as Away) to this utility.

Assumes that your laptop is running and internet connection is ON and slack is installed.

Remember to download the png image files in your local Ubunutu/Mac system and use the correct path in the code for these images.

Check out the show_help() command for more details on how to run the actual command to send message

Also includes a helper bash script which helps to set up all necessary environments/packages etc. for this program to run. Just make sure to give execute permissions to the bash script.

Steps:

  1. Download/Clone the entire repo and unzip in your local system at any directory of your choice.
  2. Give executable permission to setup_slack_env.bash file.
  1. Run the following command to activate the virtual environment:
source slack-env/bin/activate
  1. Now make sure to update the path of all the images used in slack_schedule_send_app.py with the path where you have copied this folder contents.
  2. Now see the examples below to run the actual utility

Example 1: Launch slack and set yourself as Away and send 'hi there' to 'Deepak B' user at this time: 20:03:03"

python3 slack_schedule_send_app.py 'Deepak B' 'hi there' 20:03:03 Away

Example 2: Launch slack and set yourself as Active and send 'hi there' to 'John haywire' user at this time: 20:50:02"

python3 slack_schedule_send_app.py 'Deepak B' 'hi there' 20:50:40 Active

Have fun!! Enjoy!!

Disclaimer: This is created just for fun and uses image recognition internally. So if current slack UI changes it won't work out of the box without code changes!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published