Client Actions Dispatch
What is the part of the Client that dispatches gateway events?
7 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.The websocket does that
Or ig, more specifically the shard
Is there a way to asynchronously wait for an event to be fired in a command?
You can wrap events in a Promise constructor, like how collectors do
![mdn](https://cdn.discordapp.com/emojis/957801942573256854.png)
so new Promise(client.actions…)?
How would I define the event
?