|
|
@ -577,7 +577,7 @@ def main(): |
|
|
|
bot.add_handler(help_handler) |
|
|
|
|
|
|
|
# Add a regex handler waiting for the word Hi |
|
|
|
hi_handler = MRegexHandler("[Ss]alut|[Cc]halut|'lut|[Cc]oucou|[Bb]onjour|[Hh]i|[Hh]ello", hi_callback) |
|
|
|
hi_handler = MRegexHandler("[Ss]alut|[Cc]halut|'lut|[Cc]oucou|[Bb]onjour|[Hh]ello", hi_callback) |
|
|
|
bot.add_handler(hi_handler) |
|
|
|
|
|
|
|
jdr_handler = MRegexHandler("[Jj]dr|[Rr]pg", jdr) |
|
|
|