mirror of
https://github.com/dizedev/vk_lp.git
synced 2026-09-17 06:19:03 +00:00
16 lines
360 B
Python
16 lines
360 B
Python
from vkbottle.user import Message, UserLabeler
|
|
|
|
import utils
|
|
from config import edit_message, prefix_bot
|
|
from custom_rules.permission import Permission
|
|
|
|
bl = UserLabeler()
|
|
|
|
|
|
@bl.message(Permission(), text=[prefix_bot + " пинг"])
|
|
async def ping_cmd(ctx: Message):
|
|
await edit_message(
|
|
ctx,
|
|
await utils.ping(ctx, "ПОНГ")
|
|
)
|