sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
# Read more about Slack webhooks here: https://api.slack.com/messaging/webhooks | |
curl -X POST \ | |
-H 'Content-type: application/json; charset=utf-8' \ | |
--data '{ "channel": "#mychannel", "username": "superbot", "icon_emoji": ":bot:", "text": "Foo" }' \ | |
https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX |
https://wiki.mikrotik.com/wiki/Manual:Scripting | |
https://wiki.mikrotik.com/wiki/Manual:Scripting-examples#Detect_new_log_entry | |
Prepare | |
1. Create bot via botfather and get token | |
2. Add bot to chat | |
3. Get chat id | |
On device |