Telegram notification script : excluded Copy from notification
@@ -8,6 +8,6 @@
|
||||
URL="https://api.telegram.org/bot$KEY/sendMessage"
|
||||
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
|
||||
fi
|
Reference in New Issue
Block a user