Global Commands Block for Development Only

How can i set the bot is running only for the developer if setted on development not production without using developer only preconditions because it setted for one per one commands not for the whole bot? Thank you 🙂
Solution:
How can i set the bot is running only for the developer if setted on development not production without using developer only preconditions because it setted for one per one commands not for the whole bot? Thank you 🙂
Jump to solution
2 Replies
Favna
Favna•2y ago
First of all, you use different tokens for development Vs production Secondly, you host production on a server somewhere, not on your pc where you develop Thirdly, preconditions can be made global by setting the position option. https://www.sapphirejs.dev/docs/Documentation/api-framework/interfaces/PreconditionOptions#position
tyaa chrisella
tyaa chrisellaOP•2y ago
ahh owkayy, thanks for the advice <:NGS_Lope:824814245996527658>
Want results from more Discord servers?
Add your server