/GreetingBot

Telegram bot that greets user according to day time.

Primary LanguagePython

This bot responds to user greeting according to day time.

Day is devided into three periods:

  • 0 - 12 hours - morning
  • 13 - 17 hours - afternoon
  • 18 - 23 hours - evening

Bot recognizes many greeting words, some of them are determined with regular expressions.

You can greet bot just in Russian and English.

Some examples:

User (7:45):  Hey, buddy! 
Bot: Good morning, <User>

User (13:20):  bjdbjbHelloMrBot! 
Bot: Good afternoon, <User>

User (18:10):  what's up 
Bot: Good evening, <User>

User (18:10):  what's up 
Bot: Good evening, <User>

User (18:12):  whatsUp 
Bot: Good evening, <User>

User (18:13):  hbdcwhat sup, 
Bot: Good evening, <User>

User (5:09):  Здоров! 
Bot: Доброе утро, <User>

User (15:01):  Я веду здоровый образ жизни. 
Bot: Я умею только здороваться

User (15:02):  Доброго ранку і гарного дня 
Bot: For now, I can understand only English and Russian