When i try to start the script i get this error. I placed the guild ID, and discord bot token... Any idea why its not working will appreciate all kind of support! Thanks in advance
script:JD_logsV3] SCRIPT ERROR: @JD_logsV3/server/main.lua:295: attempt to index a nil value (local 'rv')
[ script:JD_logsV3] > userCallback (@JD_logsV3/server/main.lua:295)
[ script:JD_logsV3] SCRIPT ERROR in promise (unhandled rejection): Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.
[ script:JD_logsV3] > WebSocketManager.createShards (/root/FXServer/server-data/resources/JD_logsV3/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250)
[ script:JD_logsV3] > async Client.login (/root/FXServer/server-data/resources/JD_logsV3/node_modules/discord.js/src/client/Client.js:254)
[ script:JD_logsV3]
Nevermind i had the bot wrong. The script is working perfectly fine! Everything is ok and the script is really nice, have a nice day man please close the issue
When i try to start the script i get this error. I placed the guild ID, and discord bot token... Any idea why its not working will appreciate all kind of support! Thanks in advance
[ script:JD_logsV3] > userCallback (@JD_logsV3/server/main.lua:295) [ script:JD_logsV3] SCRIPT ERROR in promise (unhandled rejection): Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted. [ script:JD_logsV3] > WebSocketManager.createShards (/root/FXServer/server-data/resources/JD_logsV3/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250) [ script:JD_logsV3] > async Client.login (/root/FXServer/server-data/resources/JD_logsV3/node_modules/discord.js/src/client/Client.js:254) [ script:JD_logsV3]