Tomato6966 / Multipurpose-discord-bot

A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.
https://milrato.com
MIT License
571 stars 604 forks source link

Deployslash #116

Closed pasindu20 closed 2 years ago

pasindu20 commented 2 years ago

Deployslash command is not working not diploying the slash command to guilds fix it

Rocky-pup commented 2 years ago

it works only on servers, on which bot added with link, which add permission to bot to create slash cmds, try re-adding bot with link, created in discord dev eith this check mark image

pasindu20 commented 2 years ago

it works only on servers, on which bot added with link, which add permission to bot to create slash cmds, try re-adding bot with link, created in discord dev eith this check mark image

i know but i first deploy slash and i change cmds name if i going to deploy it globe no response only loading

:Loading: Attempting to set the Global Slash Commands in 80 Guilds... that only bot says no respond after all

Rocky-pup commented 2 years ago

same, but i don't use it ok, waiting for Tomato

Tomato6966 commented 2 years ago

it all works for me. what did u do?

pasindu20 commented 2 years ago

not working for me image see that only bot says not deploying the slash

pasindu20 commented 2 years ago

it all works for me. what did u do?

DiscordAPIError: Invalid Form Body 20.options[4].name: String value did not match validation regex. at RequestHandler.execute (C:\Users\User\Desktop\Testing\node_modules\discord.js\src\rest\RequestHandler.js:350:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RequestHandler.push (C:\Users\User\Desktop\Testing\node_modules\discord.js\src\rest\RequestHandler.js:51:14) at async GuildApplicationCommandManager.set (C:\Users\User\Desktop\Testing\node_modules\discord.js\src\managers\ApplicationCommandManager.js:146:18) at async Object.run (C:\Users\User\Desktop\Testing\commands\Owner\deployslash.js:42:7) { method: 'put', path: '/applications/849522468124753940/guilds/799224188979904572/commands', code: 50035, httpStatus: 400, requestData: { json: [ [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object] ], files: [] } } error is

Xxcoolromegamer commented 2 years ago

check the bot perms IN the server and not on the invite link

pasindu20 commented 2 years ago

i checked bot has administator perms

pasindu20 commented 2 years ago

deployslash command is working now