Benluka.dev
Benluka.dev
DIdiscord.js - Imagine ❄
Created by Stief on 11/30/2024 in #djs-questions
Make a bot leave the server you run the command in.
Please don’t spoon fead link them to docs
8 replies
DIdiscord.js - Imagine ❄
Created by c.ix on 11/26/2024 in #djs-questions
Managing Internal Queues
You can probably set options in rest, it'll throw error instead of queueing. You could implement something there. Honestly if your solution is working perfectly, i would say stick with that. It won't mess with djs since its separate http request. Also think you can share your implementation for handling?
11 replies
DIdiscord.js - Imagine ❄
Created by WreckNoFear on 10/30/2024 in #djs-questions
Thread fetchStarterMessage with Attachments
I don't think, i faced similar thing before when my bot used to send message on each new thread. Sometimes, the starter message gets delayed
9 replies
DIdiscord.js - Imagine ❄
Created by WreckNoFear on 10/30/2024 in #djs-questions
Thread fetchStarterMessage with Attachments
message.attachments dont work? ah just saw the error. Def add a timeout You could add a set time out then fetch it
9 replies
DIdiscord.js - Imagine ❄
Created by fedpep on 10/21/2024 in #djs-questions
Fetch all reactions from a message but without cache
you need to explain like this everytime 😭 so good
13 replies
DIdiscord.js - Imagine ❄
Created by okunamayanad on 8/18/2024 in #djs-questions
Get message by ID and then update it
it's edit also
30 replies
DIdiscord.js - Imagine ❄
Created by okunamayanad on 8/18/2024 in #djs-questions
Get message by ID and then update it
that still won't work I assume. The update should go on next line
30 replies
DIdiscord.js - Imagine ❄
Created by okunamayanad on 8/18/2024 in #djs-questions
Get message by ID and then update it
very first you need to await or use then
30 replies
DIdiscord.js - Imagine ❄
Created by wut on 8/15/2024 in #djs-questions
How to create a modal based on the options they picked from a dropdown menu
😂
66 replies
DIdiscord.js - Imagine ❄
Created by SowerofSystems on 8/10/2024 in #djs-questions
Reaction Collector not collecting reactions in DMs
get dm intent asw
35 replies
DIdiscord.js - Imagine ❄
Created by SowerofSystems on 8/10/2024 in #djs-questions
Reaction Collector not collecting reactions in DMs
you need channel partial to get messages so would make sense to have them as well i think.
35 replies
DIdiscord.js - Imagine ❄
Created by SowerofSystems on 8/10/2024 in #djs-questions
Reaction Collector not collecting reactions in DMs
35 replies
DIdiscord.js - Imagine ❄
Created by SowerofSystems on 8/10/2024 in #djs-questions
Reaction Collector not collecting reactions in DMs
might need the partials?
35 replies
DIdiscord.js - Imagine ❄
Created by Weeb-Kun on 7/7/2024 in #djs-questions
bot function
listen for reaction add event, get the message (use partials), get the description from embed, use regex/manual way to extract the codes
7 replies
DIdiscord.js - Imagine ❄
Created by space on 6/30/2024 in #djs-questions
Issue with role addition/removal
try adding await but as he said check logs
12 replies
DIdiscord.js - Imagine ❄
Created by jamie on 6/16/2024 in #djs-questions
undici connection errors
oh gotcha
14 replies
DIdiscord.js - Imagine ❄
Created by jamie on 6/16/2024 in #djs-questions
undici connection errors
so when i develop a bot feature, i try to make sure every edge case is handled (some cases have possibility of never occuring) is that a good thing
14 replies
DIdiscord.js - Imagine ❄
Created by jamie on 6/16/2024 in #djs-questions
undici connection errors
is it fine btw to handle cases that might or might not occur
14 replies
DIdiscord.js - Imagine ❄
Created by space on 6/30/2024 in #djs-questions
Issue with role addition/removal
share the code
12 replies
DIdiscord.js - Imagine ❄
Created by Kiwi on 6/30/2024 in #djs-questions
Best practices for using Discord.js throughout different components
the warning is because the channels are undefined when exporting ready event isnt fired yet), you can actually export client then get the chanel in that respective file when needed to avoid bugs
3 replies