rhh4x0R
rhh4x0R
Explore posts from servers
SIASapphire - Imagine a framework
Created by rhh4x0R on 7/18/2023 in #sapphire-support
Creating a custom UserError
I want to use a custom UserError to create preconditions for my subcommands. I can't find any documentation examples on it. Anyone have any suggestions so that in my custom preconditions class I can call throw new UserError and have it go to my custom function?
40 replies
SIASapphire - Imagine a framework
Created by rhh4x0R on 7/18/2023 in #sapphire-support
Sharding via DJS and Sapphire
Hey y'all, I'm looking at the Discord.JS docs for sharding and wanting to implement that within Sapphire. From my search in this server I found to use the DJS method of using it as Sapphire doesn't support extra with that. However, there isn't a ShardManager included in Sapphire, and I still want to use the Sapphire Client options. Is that still possible with Sapphire or do I have to eliminate the SapphireClient completely (which defeats the purpose?) Cheers.
13 replies