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:
parent
93e8f9b5c3
commit
9e8a96d550
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user