2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-30 05:58:23 +00:00

clean up old prefix def

This commit is contained in:
Nick80835 2021-03-23 20:17:14 -04:00
parent 93e8f9b5c3
commit 9e8a96d550

View File

@ -35,7 +35,6 @@ class CommandHandler():
await event.client.send_message(int(self.settings.get_list("owner_id")[0]), str(format_exc())) await event.client.send_message(int(self.settings.get_list("owner_id")[0]), str(format_exc()))
async def handle_incoming(self, event): 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) chat_prefix = self.db.get_prefix(event.chat.id)
for command in self.incoming_commands: for command in self.incoming_commands: