Benluka.dev
Benluka.dev
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
Created by okunamayanad on 8/18/2024 in #djs-questions
Get message by ID and then update it
it's edit also
30 replies
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
Created by SowerofSystems on 8/10/2024 in #djs-questions
Reaction Collector not collecting reactions in DMs
get dm intent asw
35 replies
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
Created by SowerofSystems on 8/10/2024 in #djs-questions
Reaction Collector not collecting reactions in DMs
35 replies
DIAdiscord.js - Imagine an app
Created by SowerofSystems on 8/10/2024 in #djs-questions
Reaction Collector not collecting reactions in DMs
might need the partials?
35 replies
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
Created by jamie on 6/16/2024 in #djs-questions
undici connection errors
oh gotcha
14 replies
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
Created by space on 6/30/2024 in #djs-questions
Issue with role addition/removal
share the code
12 replies
DIAdiscord.js - Imagine an app
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
DIAdiscord.js - Imagine an app
Created by arc on 6/30/2024 in #djs-questions
How do I get a response from a dm?
you can use collectors or best use message create event
12 replies