Shimell / DiscordWhitelisterSpigot

Spigot plugin that allows whitelisting users through a discord text channel.
MIT License
41 stars 22 forks source link

Bot not Online #60

Closed EliasB-NU closed 2 years ago

EliasB-NU commented 2 years ago

Hey, i use the latest build of the bot (1.4.9) and followed the instruction video, but my bot is still offline. While starting the Server, this messages ocured:

[17:08:36 INFO]: [DiscordWhitelister] Enabling DiscordWhitelister v1.4.8*
[17:08:36 INFO]: [DiscordWhitelister] Initializing Discord client...
[17:08:38 INFO]: [DiscordWhitelister] Server thread                                 JDA             INFO   Login Successful!
[17:08:39 INFO]: [DiscordWhitelister] JDA MainWS-ReadThread                         WebSocketClient INFO   Connected to WebSocket
[17:08:39 INFO]: [DiscordWhitelister] JDA MainWS-WriteThread                        WebSocketClient ERROR  WebSocket connection was closed and cannot be recovered due to identification issues
[17:08:39 INFO]: CloseCode(4014 / Disallowed intents. Your bot might not be eligible to request a privileged intent such as GUILD_PRESENCES or GUILD_MEMBERS.)
[17:08:39 ERROR]: [DiscordWhitelister] Cannot connect as this bot is not eligible to request the privileged intent 'GUILD_MEMBERS'
[17:08:39 ERROR]: [DiscordWhitelister] To fix this, please enable 'SERVER MEMBERS INTENT' located at https://discord.com/developers/applications -> the application you're using to run this bot -> the button called 'bot' on the left
[17:08:39 ERROR]: [DiscordWhitelister] Discord Client failed to initialize, please check if your config file is valid

I am using Minecraft 1.17.1 Paper on Pterodactyl Panel (Version: 1.6.2).

NotNorom commented 2 years ago

Your discord bot is missing the SERVER MEMBERS INTENT.

  1. Go to this site: https://discord.com/developers/applications/
  2. Click on your application
  3. On the left side, click on "Bot"
  4. Activate the SERVER MEMBERS INTENT button (marked in the picture)

image