Private/Public Application
Is it possible to change a application from public to private?
14 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Using discord.js?
Yeh sorry that was stupid of me I really should of mentioned that...
It isn't key I just want to make a distributable source and so many people leave the bot option on public as thats default then incur an issue with like people maliciously crashing it in other servers for example
add error handling or a server/user whitelist in your bot's config
yeh that is the other option but it would be handy to just do the swap the first time the source is used
I will just have it notify them that the bot is public
I don't think bots can edit that information
makes sense I wasn't certain on that I knew like intents and that but I was iffy on this one with you being able to do like username and all that so
Yeah there's only GET for /applications/@me, nothing for editing
username/profile would be using a different endpoint for user profile editing
all my commands are /slash commands and guild specific
so not to pressed after all
PATCH to /users/@me, to be specific
ideally you should add error handling to prevent bot crashes as much as you can though
yeh the command handler itself has api error handling but yeh its for FiveM and it seems to be an insanely toxic enviroment so they will find a way to crash another communities bot...
go to https://discord.com/developers/applications and click the app then click on Bot on the left side then under Authorization Flow uncheck Public Bot
please read the whole conversation. OP was asking if bots could change their own public/private status, not how to do it from the dashboard
oooo i apologize