A
A
askhatCH2019-11-19 19:15:24
In contact with
askhatCH, 2019-11-19 19:15:24

How to make the bot reply to mentions?

Gave access to mentions, I write with * or @, but the bot does not respond. Bot on Callback API.
PS wrote with [club ID | Title ]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pigeon1235, 2020-12-30
@Pigeon1235

new RegExp(
    String.raw`^(?:\[club${GROUP_ID}\|[^\]]+\])(?:[\s.,\'\"!?\-+]+|$)`,
    'i'
);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question