lib folder

I notice when making a new sapphire project with the CLI a lib folder is made. What exactly does the lib folder do, and what files should be within? I'm trying to follow convention
Solution:
Anything really. The important part is that for example you should only have files with commands in the commands folder, so then where to put things like utilities. The convention we follow is to have a lib folder for that.
Jump to solution
3 Replies
Solution
Favna
Favna14mo ago
Anything really. The important part is that for example you should only have files with commands in the commands folder, so then where to put things like utilities. The convention we follow is to have a lib folder for that.
MRDGH2821
MRDGH282114mo ago
For example, you can put database connection initialisation code into lib folder
.
.OP14mo ago
alright thanks!
Want results from more Discord servers?
Add your server