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
sern is currently queuing commands when they have been received.
To Reproduce
Steps to reproduce the behavior:
Create a command that first defers the reply and waits any amount of time over 3 seconds before responding.
Click on use another command while the new test one is "thinking" (deffered).
See that the second command comes up as interaction failed and gives a "Unknown Interaction" error.
(For a better example of the commands used see "Additional Notes" below)
Expected behavior
sern handler should not await/queue commands and should instead synchronous behaviour, executing multiple commands at the same type.
Versioning
NodeJS version: 18.14.2
DiscordJS version: 14.13.0
SernHandler version: 3.0.3 (but same outcome on 3.1)
Additional Notes
Better Example:
User uses /test
awaitinteraction.deferReply();//do some stuff that takes longer than 3 secondsawaitinteraction.editReply('Ok dawg');
While /test has been deferred and not yet responded, a user uses /ping.
//sern stream awaits for the /test command to resolve/finish before running this one.awaitinteraction.reply(`Ping is ${client.ws.ping}`);//discord.js throws an api error because this command has taken to long to respond^.
The text was updated successfully, but these errors were encountered:
Describe the bug
sern is currently queuing commands when they have been received.
To Reproduce
Steps to reproduce the behavior:
(For a better example of the commands used see "Additional Notes" below)
Expected behavior
sern handler should not await/queue commands and should instead synchronous behaviour, executing multiple commands at the same type.
Versioning
NodeJS version: 18.14.2
DiscordJS version: 14.13.0
SernHandler version: 3.0.3 (but same outcome on 3.1)
Additional Notes
Better Example:
User uses /test
While /test has been deferred and not yet responded, a user uses /ping.
The text was updated successfully, but these errors were encountered: