From afdd475f5f17081524768f0f8dba1aaa14d45fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Thu, 4 Aug 2022 21:04:26 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=B7=BB=E5=8A=A0=E7=94=A8?= =?UTF-8?q?=E4=BA=8E=E8=A7=A3=E6=9E=90=20`args`=20=E5=92=8C=20`match`=20?= =?UTF-8?q?=E7=9A=84=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/bot.py | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/bot.py b/utils/bot.py index 1666750..dc31049 100644 --- a/utils/bot.py +++ b/utils/bot.py @@ -10,7 +10,6 @@ def get_all_args(context: CallbackContext) -> List[str]: if match is not None: groups = match.groups() return list(groups) - else: if len(args) >= 1: return args