Giter VIP home page Giter VIP logo

discord-24-7-bot's People

Contributors

gopal-kaul avatar killerpac avatar silvarhorn avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

kabbox gopal-kaul

discord-24-7-bot's Issues

Can't Start Bot

Im using repl.it to run this bot
I have added the bot with bot and application.commands with Administrator permission

heres the problem

> [email protected] start
> node src/index.js

Logged in Successfully
Started refreshing application [/] commands.
DiscordAPIError[50035]: Invalid Form Body
application_id[NUMBER_TYPE_COERCE]: Value "undefined" is not snowflake.
    at SequentialHandler.runRequest (/home/runner/Discord-24-7-Bot/node_modules/@discordjs/rest/dist/lib/handlers/SequentialHandler.js:198:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async SequentialHandler.queueRequest (/home/runner/Discord-24-7-Bot/node_modules/@discordjs/rest/dist/lib/handlers/SequentialHandler.js:99:20)
    at async /home/runner/Discord-24-7-Bot/src/reload.js:24:5 {
  rawError: {
    code: 50035,
    errors: { application_id: [Object] },
    message: 'Invalid Form Body'
  },
  code: 50035,
  status: 400,
  method: 'put',
  url: 'https://discord.com/api/v9/applications/undefined/commands'
}
Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.
    at WebSocketManager.createShards (/home/runner/Discord-24-7-Bot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:249:15)
    at async Client.login (/home/runner/Discord-24-7-Bot/node_modules/discord.js/src/client/Client.js:245:7) {
  [Symbol(code)]: 'DISALLOWED_INTENTS'
} Promise {
  <rejected> Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.
      at WebSocketManager.createShards (/home/runner/Discord-24-7-Bot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:249:15)
      at async Client.login (/home/runner/Discord-24-7-Bot/node_modules/discord.js/src/client/Client.js:245:7) {
    [Symbol(code)]: 'DISALLOWED_INTENTS'
  }
}```

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.