ls-discord-bot icon indicating copy to clipboard operation
ls-discord-bot copied to clipboard

User welcome message gets sent twice

Open zuukynn opened this issue 1 year ago • 3 comments

Explain the issue.

If you and another person click at the same time in the "Approve verification" button, the welcoming message gets sent twice.

How to recreate?

Click the "Approve" button with another person at the same time.

Anything else?

To fix this I think it's as simple as putting a verification to see if the player already has the role. If they do, just don't do anything or send an ephemeral message saying that they're already verified.

zuukynn avatar Dec 29 '23 22:12 zuukynn