1) You have to create a
🆎Profile, with the
[number] parameter, and with name, for one - "
Points
".
2) Create a command with a regular expressions, for example, as on the screenshot, "
/👍🏻|Thanks/i
". In the command settings, enable work in groups, and in the restrictions you can specify
"isReplymessage✅".3) In the command trigger, create 4 reactions, as in the attached file.
- [getReplyUser]
- [profileAdd], text: "+1"
- [getAuthorUser]
- [message], arbitrary text, for example:
"
${replyUser.link} has earned a point!
Now ${replyUser.name}'s overall rating is ${replyUser.data.Points.value} point(s).
"
Also, do not forget to check the
"Reply in groups" box in settings of the [message] reaction. AND enable this function, if your bot should serve in groups as well as in PM of users.