Message broker / Message queue
Is there any native support for message brokers like rabbitmq?
Thanks in advance
4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPwdym? What do you want to do?
instead of discord.js subscribing to the gateway directly, it uses a message broker as middleware. Each API message will be published by the message broker and subscribed to by the underlaying clients eg. discord.js bot
basically means that even if the bot is offline, bot commands and events on the server are queued by the broker and hence will be handled when the bot comes back online
can see they have been doing something
discord.js
discord.js
discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.