https://github.com/cc-d/slackcatcher
A script for reporting errors to slack.
https://github.com/cc-d/slackcatcher
Last synced: about 1 month ago
JSON representation
A script for reporting errors to slack.
- Host: GitHub
- URL: https://github.com/cc-d/slackcatcher
- Owner: cc-d
- Created: 2015-09-29T18:22:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-29T23:12:37.000Z (over 10 years ago)
- Last Synced: 2025-01-13T08:12:50.805Z (over 1 year ago)
- Language: Python
- Size: 121 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Create a new file named "config.json" using "config_example.json" as a reference.
To use, simply run the script from whatever directory you cloned the repo into and pass your command as an arg
For example, "./slackcatcher.py /super/important/script.py -t 1"
Config:
webhook_url: This is the url for your slack webhook.
channel (optional): Whatever you want your bot to send messages to. For example, #general to send to the general channel or @bob to send to the user bob.
username (optional): Username for the bot
icon_emoji (optional): Local emoji for bot, for example :monkey:
icon_url (optional): Url for the emoji to use