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
Favna14mo ago
no, make it separate files.
Xeno™
Xeno™OP14mo ago
ok
Lioness100
Lioness10014mo ago
Are you sure? I know I often have files that export multiple listeners and they all function
Favna
Favna14mo ago
pretty sure yes... last time I checked it wasnt
Want results from more Discord servers?
Add your server