loadMembers().get() not working for me :( #2246
Unanswered
Zeloslaw
asked this question in
Questions and Help
Replies: 1 comment
-
You'd use the onSuccess consumer, it'd look something like this
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I want to receive information about the number of all members of my discord. For this, I wrote the command:
I turned on GatewayIntent.GUILD_MEMBERS:
In application dashboard under the Privileged Gateway Intents section, i set enable SERVER MEMBERS INTENT and MESSAGE CONTENT INTENT.
Unfortunately it still doesn't work. Error message:
I found in the documentation:
You MUST NOT use blocking operations such as Task.get()! The response handling happens on the event thread by default.
But how do I check it and apply it?
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions