many fixes

This commit is contained in:
2023-11-02 00:34:55 +07:00
parent eef67f0c4d
commit a882198ec2
7 changed files with 84 additions and 63 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
from vkbottle.user import Message, UserLabeler
from config import edit_message, prefix_bot
from custom_rules.permission import Permission
from vkbottle.user import Message
from config import bl, edit_message, prefix_bot
bl = UserLabeler()
@bl.message(Permission(), text=prefix_bot + " <command>")
async def wrapper(message: Message):
await edit_message(message, "Такой команды не существует")