Browse Source

Modification du ping_match

environments/production/deployments/36
hansi67 7 years ago
parent
commit
4c9287ffb2
  1. 2
      klafirc/bot.py

2
klafirc/bot.py

@ -18,7 +18,7 @@ class Bot:
self.pings = []
self.on_join = None
self.tg_user_match = re.compile('^<\x03..\x02\x02(?P<username>.+)\x03>')
self.ping_match = re.compile('^(<.+> )?\@?{name}'.format(name=nickname))
self.ping_match = re.compile('(<.+> )?\@?{name}'.format(name=nickname))
self.min_time = 0
self.last_time = datetime.datetime(1,1,1)

Loading…
Cancel
Save