neon
Explore posts from serversSIASapphire - Imagine a framework
•Created by neon on 4/4/2024 in #sapphire-support
What's the point of having a "container" object exported which consists of client and other stuff?
What I found kind of unique in sapphirejs is that it uses an object called
container
which consists of client, stores, etc. But how is that better than just exporting client and stores directly? For example, instead of using this.container.client
in command classes, why is not better to just use this.client
?11 replies
SIASapphire - Imagine a framework
•Created by neon on 3/27/2024 in #sapphire-support
Are my slashcommands guild based or global?
13 replies