Adding permissions to bot that is already used in many servers

Hello everyone, hope you doing great, in short words, I want to start using webhooks with my bot but I never added that permission in my bot invitation, many servers already using my bot now, how can I add features using the webhook that will require creating / editing / deleting webhooks ?
5 Replies
d.js toolkit
d.js toolkit3mo 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!
duck
duck3mo ago
this seems to be a question more about design than discord.js, but you'll pretty much always need to handle the possibility that your bot won't have permissions it needs for a public bot so beyond announcing this feature from a support server, just responding that your bot is missing required permissions when users attempt to use this new feature is perfectly fine
Legita
Legita3mo ago
Sorry didn't know where to ask but here, So they will have to manually add it to my bot ?
duck
duck3mo ago
yes, your bot can't elevate its own permissions after all that'd be a major issue if users could just give themselves elevated permissions
Legita
Legita3mo ago
Appreciate your answer, thank you