softblocking commands

I want to control on which servers my bot can be used. Is it better to softblock commands at execution level, depending on circumstances or restrict registering them?
3 Replies
d.js toolkit
d.js toolkit4mo 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! - Marked as resolved by OP
Bloonatics
Bloonatics4mo ago
just make the bot leave the server if they're not allowed to use the bot at all
Lipton
Lipton4mo ago
thats suprisingly obvious thanks, lol