B
B
Bots2020-10-16 08:28:12
Python
Bots, 2020-10-16 08:28:12

How to make a "stop" command for a VKontakte bot? And how to make it so that only its owner could use it, and not anyone who writes the right command?

On payten. I'm just making 1 bot, and I don't know what and how to do. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SKEPTIC, 2020-10-16
@Bots

Checking for the content of the id of the sender of the command in the list or table in the database.
Can be hardcoded. Permissible at your level.
You can put it in the config and put it in json or another python file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question