Can you have folders for commands in SapphireJS
Hey there, by any chance is it possible to have folders for different types of commands on my bot?
What I mean:
So you see how you have the commands folder in your root/whatever-folder-you-are-using
is it possible to store commands in different folders within the commands folder?
e.g:
Commands >
infoCommands >
userInfo.ts
serverInfo.ts
moderationCommands >
ban.ts
kick.ts
timeout.ts
By now I hope you get the gist of what I'm trying to do/say here, so any help would be appreciated.
Thanks in advance!!
(By the way if you need help with what type of version of sapphire I'm using, I'm on framework beta pr-512)
Solution:Jump to solution
Yes, Sapphire recursively searches in the commands folder, or any pieces related folder.
3 Replies
Solution
Yes, Sapphire recursively searches in the commands folder, or any pieces related folder.
Yes
Oh, thanks guys!!