generated from Nemesis/Exemple
retirer le hi du pattern bonjour
This commit is contained in:
parent
4572abdc30
commit
27ce13d454
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@ def main():
|
||||||
bot.add_handler(help_handler)
|
bot.add_handler(help_handler)
|
||||||
|
|
||||||
# Add a regex handler waiting for the word Hi
|
# 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)
|
bot.add_handler(hi_handler)
|
||||||
|
|
||||||
jdr_handler = MRegexHandler("[Jj]dr|[Rr]pg", jdr)
|
jdr_handler = MRegexHandler("[Jj]dr|[Rr]pg", jdr)
|
||||||
|
|
Loading…
Reference in a new issue