Multiple command exports from a single file.

Is it possible to export multiple Command classes and they'll be recognised as seperate commands?, i.e:- i have a file where i have 2 classes each extending to the Command class or the Subcommand class from the sapphire plugin. And they'll also get stored in the command store
4 Replies
Favna
Favna15mo ago
no, make it separate files.
Xeno
XenoOP15mo ago
ok
Lioness100
Lioness10015mo ago
Are you sure? I know I often have files that export multiple listeners and they all function
Favna
Favna15mo ago
pretty sure yes... last time I checked it wasnt
Want results from more Discord servers?
Add your server