|
|
|
@ -16,7 +16,7 @@ class Bot: |
|
|
|
self.reactions = {} |
|
|
|
self.pings = [] |
|
|
|
self.on_join = None |
|
|
|
self.tg_user_match = re.compile('^<(?P<username>.+)>') |
|
|
|
self.tg_user_match = re.compile('^<\x03..\x02\x02(?P<username>.+)\x03>') |
|
|
|
self.ping_match = re.compile('^(<.+> )?\@?{name}'.format(name=nickname)) |
|
|
|
|
|
|
|
def add_reaction(self, match, reaction): |
|
|
|
|