updated to reflect no longer escaping parameters

pmow
2016-02-21 08:29:04 -05:00
parent 476510d629
commit 33265ce970

@@ -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 [ "$1" != '"Direct Play"' ] && [ "$1" != '"Copy"' ]; 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