mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-09 15:40:45 +02:00
Update telegram-bot-daemon.sh (#853)
This commit is contained in:
@@ -35,6 +35,7 @@ respond() {
|
|||||||
/shot) sendShot;;
|
/shot) sendShot;;
|
||||||
/on) detectionOn;;
|
/on) detectionOn;;
|
||||||
/off) detectionOff;;
|
/off) detectionOff;;
|
||||||
|
/help) $TELEGRAM m "######### Bot commands #########\n# /mem - show memory information\n# /shot - take a shot\n# /on - motion detect on\n# /off - motion detect off";;
|
||||||
*) $TELEGRAM m "I can't respond to '$1' command"
|
*) $TELEGRAM m "I can't respond to '$1' command"
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user