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:
Pass baseUserDirectory: null in your client options to disable loading, this is one of the steps at registering and loading virtual pieces.
Jump to solution
2 Replies
Solution
kyra
kyra2mo ago
Pass baseUserDirectory: null in your client options to disable loading, this is one of the steps at registering and loading virtual pieces.
dan
danOP2mo ago
Ah yes I forgot about this. Thanks

Did you find this page helpful?