Hauntless
Hauntless
Explore posts from servers
SIASapphire - Imagine a framework
Created by Hauntless on 12/1/2022 in #sapphire-support
Command File & Directory Parsing
1. Is there a link to the source code on how the framework handles files for commands? 2. Is there a way to extend the functionality of the current command handling built into the framework where it can interpret subcommands. An example would be commands/music/index.ts & commands/music/playlist.ts. What index.ts would be, is the "base command". Basically my question is how can my command handler be similar to Skyra's. If manipulating the framework won’t work, will using node:fs do the trick? Any links or documentation would be appreciated!
4 replies