Files
2023-11-02 00:34:55 +07:00

25 lines
576 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import time
from vkbottle.user import Message
rewards = {
"discoverer": "Первооткрыватель",
"creator": "Создатель",
"admin": "Администратор",
"moderator": "Moderator",
"researcher": "Исследователь",
"sponsor": "Спонсор"
}
next_line_symbol = "\n"
async def ping(message: Message, answer: str) -> str:
delta = round(time.time() - message.date, 2)
if delta < 0:
delta = "666"
return f"{answer} Модуль Impulse LP\n" \
f"Ответ через {delta} с"