From 9e8a96d550eda5769909906b01cc484b15a2cc9c Mon Sep 17 00:00:00 2001 From: Nick80835 Date: Tue, 23 Mar 2021 20:17:14 -0400 Subject: [PATCH] clean up old prefix def --- ubot/command_handler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ubot/command_handler.py b/ubot/command_handler.py index eecc536..4b40e60 100644 --- a/ubot/command_handler.py +++ b/ubot/command_handler.py @@ -35,7 +35,6 @@ class CommandHandler(): await event.client.send_message(int(self.settings.get_list("owner_id")[0]), str(format_exc())) async def handle_incoming(self, event): - prefix = "|".join([escape(i) for i in (self.settings.get_list("cmd_prefix") or ['.'])]) chat_prefix = self.db.get_prefix(event.chat.id) for command in self.incoming_commands: