I
I
Ivan2021-02-26 13:12:30
In contact with
Ivan, 2021-02-26 13:12:30

How to get a person's ID for a team profile?

There is a "Register" command, I want data about users in the bot to be created after this command, for example: id; go to bot.
And when you enter "Profile" displayed id and id in the bot.

cmd.hear(/^регистрация$/i, async(context) => { 

    return context.send('Регистрация прошла успешно');

});

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