Loris 🐐
Loris 🐐
DIAdiscord.js - Imagine an app
Created by Loris 🐐 on 6/12/2024 in #djs-questions
Unable to fetch all members from role
Hello. For my app, i need to get all members of a predefined role id to fill a const Unfortunately, when i fetch members from role, i get only me in member, other member is not present in map. I have enabled Guild and Guild_Members intents.
7 replies
DIAdiscord.js - Imagine an app
Created by Loris 🐐 on 6/22/2023 in #djs-questions
Exit the Client Ready event
Good evening, I have a js script which is used for a cron task, so I would like it to stop by itself after execution, but I use the ready event, and the script continues to run even after the commands have finished. Is it possible to stop the script after the end of the code in the event ready? Thank you in avance !
8 replies