mirror of
https://github.com/dizedev/vk_lp.git
synced 2026-09-17 03:58:56 +00:00
many fixes
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import time
|
||||
|
||||
from vkbottle.user import Message
|
||||
|
||||
rewards = {
|
||||
"discoverer": "Первооткрыватель",
|
||||
"creator": "Создатель",
|
||||
@@ -8,3 +12,13 @@ rewards = {
|
||||
}
|
||||
|
||||
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} с"
|
||||
|
||||
Reference in New Issue
Block a user