fedpep
DIAdiscord.js - Imagine an app
•Created by fedpep on 12/4/2024 in #djs-questions
Thread .fetchArchived() doesn't return all the archived threads even if those are public
Hey there, I'm using the .fetchArchived() function to get all the archived threads in a forum but it looks like the function returns only a limited number of results.
I had a look at the documentation but from my understanding adding the option fetchAll can be used only if the type is set to private which is not my case as all the threads are public. As you can see in the code I also didn't set a specific limit because I want to export all the archived threads but it looks like I can only get 50 of them.
3 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
Hey there, is that a way to fetch all reactions attached to a message without using the cache function?
This is my current code
I looked for examples online and read through the documentation but I only found the "cache" function.
13 replies
DIAdiscord.js - Imagine an app
•Created by fedpep on 10/14/2024 in #djs-questions
How can I get an array of all the posts in a forum?
Hey there, I looked at the documentation but couldn't find anything regarding forum channels. I want to create a Slash Command that accepts a forum channel as input and then returns an array of all the posts that are in that forum.
Any help would be much appreciated
25 replies
DIAdiscord.js - Imagine an app
•Created by fedpep on 9/17/2024 in #djs-questions
awaitMessageComponent doesn't wait the set time
Hey there, I'm following the guide but I can't figure out why awaitMessageComponent doesn't wait for the set time.
Here's my code:
Here the intents in index.js
Any help would be much appreciated
14 replies