Message broker / Message queue

Is there any native support for message brokers like rabbitmq? Thanks in advance
DT
d.js toolkit199d ago
- 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 OP
S
Syjalo199d ago
wdym? What do you want to do?
K
KNOX199d ago
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
K
KNOX199d ago
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.
Want results from more Discord servers?
Add your server
More Posts
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memoryI am getting this error like 20 seconds after the bot is on but 2 days ago it was working fine and iWhat method to check if invite is paused?Ping if you know the answer (pls)🐛 Issue: Permission Error (50013) When Deleting a Role with Discord Bot**Description:** I am encountering a 50013 Permission error when my Discord bot tries to delete a roget all mesages after a specific timeIm making a purge command but when i try to delete messages it says it can only delete messages thatusing rest API to update server bannerI'm trying to use the REST api to update my server banner. The problem is that it seems to work - aboort erroron latest djsInvalid bitfield in audit log channel permissions eventHey, I currently have the issue that errors like these are sent multiple times a minute into my bot'StatusHello Everyone. I am currently having trouble on setting my bots status. Would anyone have a basic errors in my codehey so im trying to make a streaming selfbot but ive been getting loads of errors whenever i try to TTSi want to create a simple discord bot, that will read user messages in specific channel and bot willBot Crashing After a non permission user runds commandclient.on('messageCreate', (message) => { // Check if the message starts with "!announce" and thExtending Guild, Channel, Member etc - TypeScriptIs it possible to extend upon Guild, Channel, Member etc objects? I have tried extending them but Does anyone have a https request bot infrastructure??djs versionsWhat version would be the best to create a discord bot in ? have any suggestions?