Closed FallOsprey closed 3 years ago
Hey, are you sure you can't find them in interactions/slash
folder?
Yes
The only thing I see is help.js
Probably inside a category in that folder, right? Have you tried restarting the bot to re-update the commands?
Just that
All command interactions fail (except help). I have restarted the bot multiple times. I don't understand number 3
I can send you the code if you would like to take a peak
All command interactions fail (except help). I have restarted the bot multiple times. I don't understand number 3
This indeed means that the commands are actually not available. You should try restarting your discord client (discord app), do Ctrl + R also try restarting your network connection. I don't see this issue from the coding side.
Please don't hesitate to reply if that didn't fixed the issue. As of now, I consider this is solved and hence closing the issue.
Still having issues
Please explain in brief.
I restarted Discord, my connection, the bot, and even removed it from the server and joined it back.
Same thing, those slash commands still showing.
I believe this is caching then, did you made the commands global? or it is guild based?
Guild I think
You will need to confirm it for me.
You can also try to forcefully delete the slash command using ApplicationCommand
methods.
Routes.applicationGuildCommands(client_id, test_guild_id),
Yeah, looks cool for guild. I will assume you have done your config file properly.
So yeah, you can use the ApplicationCommand
methods as mentioned in docs, to forcefully delete it.
How would I do that tho
Make a slash command manager? Or just raw scripts using a eval command? Anything that hits up your head will make it possible.
I dont know how to do that
Eval Javascript https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval Delete Application Command https://discord.js.org/#/docs/main/stable/class/ApplicationCommand?scrollTo=delete Find The Specific Command https://discord.js.org/#/docs/main/stable/class/ApplicationCommandManager?scrollTo=cache
Do not click spoiler without trying!
Still doesn't work since the commands don't exist but still show up.
Hit me up on discord rn allroundernaman#3915
and I'll test it in your server. (The last thing I can offer)
Your F requests are off, [link hidden].
When I run the bot and look at the slash commands through Discord, I see is has commands like /admin embed, /admin say, /info ping, and /info userinfo. I want to get rid of these but I can't find them anywhere in the bots files.