Modification du ping_match
This commit is contained in:
parent
8fbbee7db4
commit
4c9287ffb2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue