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
I believe there's a different issue at play. I've noticed that the duplicate tickets always come from the same person, as if the button interaction was sent twice.
What I could do is disable the button after it's been clicked, and then release it after the ticket is created to confirm this theory maybe.
Something something idempotency something something. But I'm fairly sure it's a locking issue, why would the second interaction ever get the old id otherwise?
ddnet-discordbot/cogs/ticketsystem/buttons.py
Line 44 in ac4e07d
Need to wrap this function with a lock
The text was updated successfully, but these errors were encountered: