SSantosLab / Main-Injector

2 stars 4 forks source link

Updated slack bot #32

Closed seanmacb closed 7 months ago

seanmacb commented 7 months ago

Updated slack.py to send messages with new bot

Updated .gitignore to exclude the webhook URL

The only thing that needs to be added in order for this to work: a file added under configs/slack_token.txt that contains the webhook URLs for the bot (Note: this will have to be changed for every successive channel that the bot is added to. If new functionality is added, that is fine, but new slack channels will require a different webhook URL)

Direct any questions on the bot to @seanmacb

nixnyxnyx commented 7 months ago

Slackbot seems to work well. I'd add a Slackbot message for when strategy finishes. This really should be inside strategy itself because it's a subprocess. There used to be a slack message for strategy, so it's probably still in the code. We just need to find it and replace it with the new format.

Otherwise, for production the channel that this posts to should be #desgw-followup.