######### Slack client for Python3 ##########
-
Install slackclient
pip3 install slackclient==1.0.0
-
Generate API token for authentication from
https://api.slack.com/custom-integrations/legacy-tokens
-
Export as environment variable
export SLACK_TOKEN="yourtoken"
-
Run the python script(s).
python3 message.py