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:Jump to 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 🙂
2 Replies
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#positionahh owkayy, thanks for the advice <:NGS_Lope:824814245996527658>