V
V
vkulik792019-01-31 18:35:02
Python
vkulik79, 2019-01-31 18:35:02

Vk admin check, how to do it?

I can’t make an admin panel for a bot in python. Help, here is a code example!
if event.type == VkBotEventType.MESSAGE_NEW and event.obj.text.lower() == "ban" or event.obj.text.lower() == "kick":
vk.messages.removeChatUser(chat_id=event. chat_id, user_id=event.obj.fwd_messages[0]['from_id']
)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question