iBlitzkriegi / Vixio

Vixio, The Skript Addon made to fit all of your Discord needs.
http://www.vixio.space
40 stars 28 forks source link

Loop discord members #309

Open MrGametop1 opened 3 years ago

MrGametop1 commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

No errors

loop discord members of server with id "729418505266397216": %loop-member% %discord id of loop-member%

Altso tried with loop discord members of guild with id "729418505266397216":

Replying with this :: %loop-member% %discord id of loop-member%

But it only gets 6 discord members, but there is 48 discord members on the server

Information Skript version: Skript v2.5.3 Vixio version: Vixio v2.0.7 Minecraft Version: 1.16.5 Server software name and version: paper-1.16.5-553.jar

Expected behavior There should come 48 discord members, not only 6

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

iBlitzkriegi commented 3 years ago

You require the guild members intent for your bot. You must use the create vixio bot scope to enable these intents like this:

on skript load:
  create vixio bot:
    enable the guild members intent
    login to "{@token}" with the name "{@name}"

You also would need to enable this option in your discord developer portal for your bot, where it lists the guild members intent.