Telegram notification script : excluded Copy from notification
@@ -8,6 +8,6 @@
|
|||||||
URL="https://api.telegram.org/bot$KEY/sendMessage"
|
URL="https://api.telegram.org/bot$KEY/sendMessage"
|
||||||
TEXT="Crap, your server is transcoding something: ! Go check on it, noob!"
|
TEXT="Crap, your server is transcoding something: ! Go check on it, noob!"
|
||||||
|
|
||||||
if [ "" != "Direct Play" ]; then
|
if [ "$1" != '"Direct Play"' ] && [ "$1" != '"Copy"' ]; then
|
||||||
curl -s --max-time $TIMEOUT -d "chat_id=$USERID&disable_web_page_preview=1&text=$TEXT" $URL > /dev/null
|
curl -s --max-time $TIMEOUT -d "chat_id=$USERID&disable_web_page_preview=1&text=$TEXT" $URL > /dev/null
|
||||||
fi
|
fi
|
Reference in New Issue
Block a user