From 396c498d8ef8ce0bd30cee06d5f76ed8b015df0a Mon Sep 17 00:00:00 2001 From: kev <31861128+yqlbu@users.noreply.github.com> Date: Sat, 2 Dec 2023 20:41:51 +0800 Subject: [PATCH] fix: removed undesired condition (#14) --- src/component/repeat.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/component/repeat.py b/src/component/repeat.py index 1eb6b84..4da33ec 100644 --- a/src/component/repeat.py +++ b/src/component/repeat.py @@ -104,7 +104,6 @@ def repeat(update: Update, context: CallbackContext): repeated[chat_id] = True t = t.replace("你", "我") t = t.replace("机", "鹅") - t = t.replace("鸡", "鹅") context.bot.send_message(chat_id=chat_id, text=t * 3) # repeat 3 times with "!" elif 1 <= len(update.message.text) <= 30 and (