Invalid or Expired Bot Token
Ensure that Config.Discord.botToken
is valid and has the necessary permissions to fetch member data from the guild.
Guild ID or Discord ID is Incorrect
Ensure Config.Discord.id
(guild ID) and discordID
(user ID) are correct.
Bot Lacks Required Permissions
The bot needs the GUILD_MEMBERS
intent enabled in the Discord Developer Portal.
Ensure the bot has Read Members
permission in the Discord server.
API Changes or Outage
Check Discord's status page () to see if there are any ongoing issues.
Verify the Bot Token
Ensure that Config.Discord.botToken
is correct and hasn't expired.
Check Cooldown You might need to adjust how frequently requests are made to avoid hitting Discord's limit.
Enable Privileged Intents
Go to the Discord Developer Portal → Your Bot → "Privileged Gateway Intents" → Enable SERVER MEMBERS INTEN