Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
479 B
2
Indexable
Never
        if current_hour_24 >= str(9) or current_hour_24 <= str(11):
            bot.reply_to(message,"9-11 要做既野")
        
        elif current_hour_24 >=str(14) or current_hour_24<=str(18):
            bot.reply_to(message,"14-18要做既野")

        #lunch  
        elif ((current_hour_24 == str(21) and current_minute >str(0)) or  (current_hour_24 == str(21) and current_minute <=str(59))):
            bot.reply_to(message,"9點01分 去到 9點59分要做既野")