more cool features

This commit is contained in:
2023-10-30 23:27:40 +07:00
parent 27bd2780da
commit ce88bb6dc8
12 changed files with 95 additions and 19 deletions
+5 -2
View File
@@ -2,11 +2,14 @@ import pytz
import git
from custom_rules.permission import Permission
from vkbottle.user import Message
from config import bl, edit_message, prefix_bot
from vkbottle.user import Message, UserLabeler
from config import edit_message, prefix_bot
from utils import rewards_list
bl = UserLabeler(custom_rules=Permission)
@bl.message(Permission(), text=[prefix_bot + " бот"])
async def about(message: Message):
repo = git.Repo(search_parent_directories=True)