A simple script to send direct messages to some users or post on a channel in the CBD Slack room.
Run prepare.sh
.
python3 ./slack.py -u icaoberg -m "Time to :shower: and go to :bed:"
MESSAGE='*This is your daily friendly automated reminder* :nerd_face:\n
• If you have a quick question that you think does not require opening a ticket, then feel free to message <@UAP6D08LT> or post a message in the public room <#CB4DS2H8V>
• If you are having a larger issue with any of the resources that belong to our department that requires immediate attention, then please e-mail computing@the.email.com.\n
• If you have issues or questions related with `ourfirstcluster` or `theothercluster`, then please e-mail help@the.email.com.\n'
python3 slack.py -u icaoberg -m "$MESSAGE"
It assumes the existence of a file called ~/.SLACK_SECRETS
, not found in this repository.
Copyleft © 2020 icaoberg at the Computational Biology Department in Carnegie Mellon University