lwz
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
You're welcome! You too
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
Yeah I see š Good luck for what you're coding!
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
For cache and fetch I already found something on reddit, but also in this Discord
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
It makes me read all the DJS guide :]
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
But don't want to say something wrong
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
Yes, i would say yes
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
Tbh, I think so, not sure :]
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
The best way to do is to
cache.get
and if it's empty or undefined use fetch50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
So I don't think players connected in voice chat before the bot was online can be (or are) cached.
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
Okay after reading a bit, cache will slowly populate as events begin to emit.
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
But yeah, I think so, cache is getting updated every second the bot is online
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
I only know that fetch is for requiring data in real-time (if not cached).
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
Yes for the first part and I think so for the second one
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
The bot will cache every users present in a voice channel on starting.
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
Fetch is not using cache, as fetch is used to require real-time data
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
In the past I was doing something like this :
ā can not be the best way to do it anymore
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Sim3Xx on 4/25/2024 in #djs-questions
How to query members of a voice channel
By using "GuildVoiceStates" intents, the bot will cache every player/user/member present in a voice chat.
50 replies
DIAdiscord.js - Imagine an app
ā¢Created by Frostino on 2/10/2024 in #djs-questions
help with a secret buttons
What I'm saying here is that you can just put an "Actions" button, thats trigger a selectmenu based on your role/perms.
10 replies
DIAdiscord.js - Imagine an app
ā¢Created by Frostino on 2/10/2024 in #djs-questions
help with a secret buttons
I mean, I know buttons can't be displayed only for admins. So I'm just proposing what I did on my own bot ^^
10 replies
DIAdiscord.js - Imagine an app
ā¢Created by Frostino on 2/10/2024 in #djs-questions
help with a secret buttons
Or use 2 differents StringSelectMenu based on user roles.
10 replies