You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The regex for direct mention will fail if another user is mention in the message.
I.e. regex <@([WU].+)>.+ will match "<@uuser1> message <@Uuser2> more message" to the last ">" in the string.
Suggest to change to <@([WU].+?)>.+
Encountered this when I wanted the bot parse commands to interact with other users.
The text was updated successfully, but these errors were encountered:
The regex for direct mention will fail if another user is mention in the message.
I.e. regex <@([WU].+)>.+ will match "<@uuser1> message <@Uuser2> more message" to the last ">" in the string.
Suggest to change to <@([WU].+?)>.+
Encountered this when I wanted the bot parse commands to interact with other users.
The text was updated successfully, but these errors were encountered: