mirror of
https://github.com/Nick80835/microbot
synced 2025-08-30 14:08:31 +00:00
clean up old prefix def
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user