Namespace
Namespaces are simply files in which you can export stuff that you will use in your commands, like utils.
Why use namespaces?
Create a namespace
CLI pattern
bot add namespaceNamespace structure
Using namespaces
In a command
In a listener
Common use cases
1. Middlewares
2. Constants and configuration
3. API wrappers
4. Database helpers
File location
Best practices
Last updated