This commit is contained in:
Rongrong 2020-11-29 19:35:03 +08:00 committed by GitHub
parent 3bacf44460
commit a43845be3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ def mention(user):
def get_text(mention_from, mention_rpl, command):
parsed = parser.search(delUsername.sub('', command)).groups()
parsed = list(parser.search(delUsername.sub('', command)).groups())
for escape in escaping:
parsed[0] = parsed[0].replace(escape, escape[1:])
if parsed[0] == 'me':