change time that I need to take medicine
This commit is contained in:
4
bot.sh
4
bot.sh
@ -26,8 +26,8 @@ while true; do
|
||||
sendPhoto "https://i.imgur.com/8cEgcf8.jpg" "吃這顆~"
|
||||
sleep 1m
|
||||
fi
|
||||
# 中午 12 點ㄘ吃黃色藥
|
||||
if [ "$(date "+%H:%M")" == "12:00" ]; then
|
||||
# 下午 1 點ㄘ吃黃色藥
|
||||
if [ "$(date "+%H:%M")" == "13:00" ]; then
|
||||
sendSticker "CAADAQADWAQAAvoPCRQhPbMdi-bNqQI"
|
||||
sendPhoto "https://i.imgur.com/8cEgcf8.jpg" "吃這顆~"
|
||||
sleep 1m
|
||||
|
Reference in New Issue
Block a user