create-interaction-response! blocks after a few consecutive calls #125
Labels
bug report
Reported, but unconfirmed bugs.
bug
cannot reproduce
Bugs that have been tested but can't be found
Describe the bug
I'm calling
discljord.messaging/create-interaction-response!
in response to a button being clicked and after around 4 clicks, this function blocks and interactions become very slow. The bot then displays "This interaction failed".If I don't use discljord's
create-interaction-response!
function for this and instead just send a plain HTTP request, this same problem doesn't occur.Version Information
To Reproduce
Using my minimal reproduction case:
/open
command to make the bot create a message with a buttonMinimal reproduction case:
https://github.com/Avetixz/minimal-tournament-bot
Expected behavior
The bot should not block so quickly after just a few interactions.
Additional context
In my minimal reproduction case, I wrote a private function
create-interaction-response!
which sends a plain HTTP request. If you replacediscord-rest/create-interaction-response!
withcreate-interaction-response!
in line 66, you'll see that the same problem doesn't occur.The text was updated successfully, but these errors were encountered: