Fruit_
@IdioticFruit
Repls
Community
0
How do I fix this cluster of errors
So i'm trying to make the scripts for slash commands on discordjs and this error pops up
DiscordAPIError: Invalid Form Body
name: This field is required
at RequestHandler.execute (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:50:14) {
method: 'post',
path: '/applications/900524265814753321/guilds/749595288280498188/commands',
code: 50035,
httpStatus: 400,
requestData: {
json: { name: undefined, description: undefined, options: undefined },
files: []
}
}
DiscordAPIError: Invalid Form Body
name: This field is required
at RequestHandler.execute (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:50:14) {
method: 'post',
path: '/applications/900524265814753321/guilds/749595288280498188/commands',
code: 50035,
httpStatus: 400,
requestData: {
json: { name: undefined, description: undefined, options: undefined },
files: []
}
}
DiscordAPIError: Missing Access
at RequestHandler.execute (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
at async Client. (/home/runner/radiobot/index.js:38:23) {
method: 'get',
path: '/applications/900524265814753321/guilds/818691037623091200/commands',
code: 50001,
httpStatus: 403,
requestData: { json: undefined, files: [] }
}
DiscordAPIError: Invalid Form Body
name: This field is required
at RequestHandler.execute (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:50:14) {
method: 'post',
path: '/applications/900524265814753321/guilds/749595288280498188/commands',
code: 50035,
httpStatus: 400,
requestData: {
json: { name: undefined, description: undefined, options: undefined },
files: []
}
}
DiscordAPIError: Invalid Form Body
name: This field is required
at RequestHandler.execute (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:50:14) {
method: 'post',
path: '/applications/900524265814753321/guilds/749595288280498188/commands',
code: 50035,
httpStatus: 400,
requestData: {
json: { name: undefined, description: undefined, options: undefined },
files: []
}
}
DiscordAPIError: Invalid Form Body
name: This field is required
at RequestHandler.execute (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/runner/radiobot/node_modules/discord.js/src/rest/RequestHandler.js:50:14) {
method: 'post',
path: '/applications/900524265814753321/guilds/749595288280498188/commands',
code: 50035,
httpStatus: 400,
requestData: {
json: { name: undefined, description: undefined, options: undefined },
files: []
}
}
2
1
0
I'm currently making a solution for a music bot to host on GitHub for a GitHub repository which only supports python 3.7
How do I do it?
Recently after making a discord bot, I experienced problems with random people who are interested to dig around in my profile and run any replit proje
Node.js
So im trying to make the discord bot but the output was like this
npm start
> music-b[email protected] start /home/runner/Music-bot
> node index.js
/home/
note its a test of the discord bot but how do I kill this so I don't have to risk screwing up things?
I've looked all posts related to installing node but they don't work, how do I do it
Michelle - Replit - Google Chrome 8222021 63227 PM