Stop sapphire from automatically loading pieces
I'd like to use sapphire's command class since I can adapt it more easily, however I want to prevent it from manually loading other pieces (like listeners).
I remember there being an option for this but I pretty much can't remember so I'm asking here.
P.S: I plan on loading commands manually, by calling this.container.loadPiece(), i just want to disable any type of automatic loading.
Solution:Jump to solution
Pass
baseUserDirectory: null
in your client options to disable loading, this is one of the steps at registering and loading virtual pieces.1 Reply
Solution
Pass
baseUserDirectory: null
in your client options to disable loading, this is one of the steps at registering and loading virtual pieces.