❄ Christmas Ralsei
DIAdiscord.js - Imagine an app
•Created by ❄ Christmas Ralsei on 1/2/2024 in #djs-questions
Interaction reply or edit reply depending on whether anything was sent?
Is there anything in discord.js that would let me call one function that would either reply to an interaction (if the bot hasn't replied yet) or edit the reply (if it has)?
It'd be nice to also have the option to either reply or send a follow-up message in the same manner
5 replies
DIAdiscord.js - Imagine an app
•Created by ❄ Christmas Ralsei on 12/21/2023 in #djs-questions
Sending voice messages?
Is it possible to send an audio file as a Discord voice message using Discord.js?
5 replies
DIAdiscord.js - Imagine an app
•Created by ❄ Christmas Ralsei on 8/22/2022 in #djs-questions
Gracefully stop the bot
Is there any way to gracefully stop the bot? I want it to appear as offline as soon as it stops.
doesn't seem to work…
Also, what's the reason that
setPresence
unlike basically any other similar method isn't async?15 replies
DIAdiscord.js - Imagine an app
•Created by ❄ Christmas Ralsei on 8/22/2022 in #djs-questions
Embeds not added to the message
6 replies
DIAdiscord.js - Imagine an app
•Created by ❄ Christmas Ralsei on 8/5/2022 in #djs-questions
`defaultMemberPermissions` not working
11 replies
DIAdiscord.js - Imagine an app
•Created by ❄ Christmas Ralsei on 7/19/2022 in #djs-questions
Queuing operations with lower priority than usual
Hey, I'd like to be able to schedule some API operations in a way that they don't block new commands from executing. Does Discord.JS use any type of priority queue for that? I'd like it to process commands etc. first, and then doing the scheduled stuff (e.g. processing older messages posted while the bot was offline), so that it doesn't run into rate limiting with responding to commands.
6 replies