Private/Public Application

Is it possible to change a application from public to private?
14 Replies
d.js toolkit
d.js toolkit10mo ago
- 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!
urretf
urretf10mo ago
Using discord.js?
.turtle_dick
.turtle_dick10mo ago
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
urretf
urretf10mo ago
add error handling or a server/user whitelist in your bot's config
.turtle_dick
.turtle_dick10mo ago
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
urretf
urretf10mo ago
I don't think bots can edit that information
.turtle_dick
.turtle_dick10mo ago
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
urretf
urretf10mo ago
Yeah there's only GET for /applications/@me, nothing for editing username/profile would be using a different endpoint for user profile editing
.turtle_dick
.turtle_dick10mo ago
all my commands are /slash commands and guild specific so not to pressed after all
urretf
urretf10mo ago
PATCH to /users/@me, to be specific ideally you should add error handling to prevent bot crashes as much as you can though
.turtle_dick
.turtle_dick10mo ago
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...
NaN
NaN10mo ago
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
urretf
urretf10mo ago
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
NaN
NaN10mo ago
oooo i apologize