Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.

(path)
ode_modulesdiscord.jssrcclientwebsocketWebSocketManager.js:244
        throw new Error(WSCodes[error.code]);
              ^
Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.
    at WebSocketManager.createShards (C:UsersAdminDesktopDiscord bot
ode_modulesdiscord.jssrcclientwebsocketWebSocketManager.js:244:15)
    at async Client.login (C:UsersAdminDesktopDiscord bot
ode_modulesdiscord.jssrcclientClient.js:245:7) {
  [Symbol(code)]: 'DISALLOWED_INTENTS'
}
=========================
if u see this error it mean you forgot turn on Privileged Gateway Intents 

first you follow this link https://discord.com/developers/applications
in My Applications choose your bot 
Scroll down and you will see Privileged Gateway Intents
turn on PRESENCE INTENT and SERVER MEMBERS INTENT

now the problem has been solved!

Comment

PREVIOUS NEXT
Code Example
Javascript :: ternary function javascript 
Javascript :: function component in react 
Javascript :: Use ctrl + scroll to zoom the map & Move map with two fingers on mobile 
Javascript :: how to print in a same line in javascript 
Javascript :: hypot javascript 
Javascript :: filter even numbers javascript 
Javascript :: add webpack to react project tutorial 
Javascript :: react extends component construtor super props 
Javascript :: type svg react 
Javascript :: jquery clone row 
Javascript :: max value from array in javascript 
Javascript :: how to crash with js 
Javascript :: array join method 
Javascript :: remove first and last element from array javascript and seprated by comma 
Javascript :: what is template engine in express 
Javascript :: Error occurred while trying to proxy to: localhost:3000/ 
Javascript :: vue add external script 
Javascript :: filter an array of objects and match its key with values inside another array 
Javascript :: react hooks component re render when button press 
Javascript :: socket io query 
Javascript :: react lazy load suspense 
Javascript :: how to open a new browser window using a .bat 
Javascript :: mongoose find multiple and update 
Javascript :: anagram js 
Javascript :: javascript hide elements by class 
Javascript :: how to disable link in react 
Javascript :: tolowercase js 
Javascript :: Uncaught TypeError: $(...).jstree is not a function 
Javascript :: react native dimensions 
Javascript :: jest Your test suite must contain at least one test. 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =