mirror of
https://github.com/Rongronggg9/SlashBot.git
synced 2025-02-06 17:23:28 +08:00
fix
This commit is contained in:
parent
3bacf44460
commit
a43845be3a
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user