Files
vk_lp/routes/profile.py
T
2023-10-31 22:11:13 +06:00

17 lines
707 B
Python
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from custom_rules.permission import Permission
from vkbottle.user import Message
from config import bl, edit_message, prefix_bot, prefix_dd
from utils import rewards_list
import time
@bl.message(Permission(), text=[prefix_bot + " профиль"])
async def get_profile(message: Message):
delta = round(time.time() - message.date, 2)
if delta < 0:
delta = "666"
await edit_message(message,
f"Твой профиль:\n\n Название бота: Impulse LP\n Твоя версия: None\n Твои достижения: {rewards_list[1]}\n Твой префикс: {prefix_bot}\n Твой префикс дд: {prefix_dd}\n Твой пинг: {delta}")