discord-24-7-bot's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.