From a43845be3a50d4dbff8755fbf18a4d28720bb091 Mon Sep 17 00:00:00 2001 From: Rongrong <15956627+Rongronggg9@users.noreply.github.com> Date: Sun, 29 Nov 2020 19:35:03 +0800 Subject: [PATCH] fix --- SlashBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlashBot.py b/SlashBot.py index 6607e92..d941a29 100644 --- a/SlashBot.py +++ b/SlashBot.py @@ -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':