Code Monkey home page Code Monkey logo

Comments (17)

therealolie avatar therealolie commented on July 19, 2024

it seems you dont have node, download link, or use your package manager

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

image
It says it's installed

from console-discord.

therealolie avatar therealolie commented on July 19, 2024

remove line 219 so it doesnt clear the screen then try running node index.js and tell me that errors are there

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

Node doesn't give any errors and npm (even without arguments) give this error:

error while loading shared libraries: ?: cannot open shared object file: No such file or directory
Could not determine Node.js install directory

from console-discord.

therealolie avatar therealolie commented on July 19, 2024

this looks like a badly installed node/npm
run node -v and npm list and tell me the versions of both programs
i also found this, but thats on windows so idk if it will help you https://stackoverflow.com/questions/67559611/error-could-not-determine-node-js-install-directory

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

image

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

didn't work through email

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

But when I get out of Bash I get
image

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

I think I should give the error I have when not using bash :

Error [INVALID_INTENTS]: [Bot Token] Invalid intent provided for WebSocket intents.
    at WebSocketManager.createShards (C:\Users\guigui0246-EPITECH\OneDrive\kerfus-bot\kerfus-bot-but-in-python\test\console-discord\node_modules\discord.js-selfbot-v13\src\client\websocket\WebSocketManager.js:265:15)
    at async Client.login (C:\Users\guigui0246-EPITECH\OneDrive\kerfus-bot\kerfus-bot-but-in-python\test\console-discord\node_modules\discord.js-selfbot-v13\src\client\Client.js:342:7) {
  [Symbol(code)]: 'INVALID_INTENTS'
}

from console-discord.

therealolie avatar therealolie commented on July 19, 2024

image

this looks like a badly installed node, node -v would print the version of node

also r u logging into a user account or a bot account?

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

I'm logging using a bot token

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

Using bash to execute directly windows Node doesn't work either.
image

from console-discord.

therealolie avatar therealolie commented on July 19, 2024

this is for user accounts only, theoretically i could add support for bot accounts but it will take a bit (older versions used bot accounts, you can clone one of those to use a bot acc)

from console-discord.

therealolie avatar therealolie commented on July 19, 2024

i created a bot branch in case you want to use that

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

On the bot branch I get :
Error: Used disallowed intents

ChatGPT said that in Privileged Gateway Intents in the portal I don't have the same intents as in the code

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

Now works after enabling the all

from console-discord.

guigui0246 avatar guigui0246 commented on July 19, 2024

You still should make it so installation says you need to enable all of Privileged Gateway Intents at least. Or your code tries all intents combination

from console-discord.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.