Closed Murtatrxx closed 1 year ago
Here's my proposed solution. there will be two modes: DEV and PROD. In prod mode, this is normal behavior because empty files should not exist in a bot. This can be overrided however, if you add -ignore!
to the end of the filename. In DEV mode, any file that is ignored is logged so the developer knows.
Okay, but in PROD mode, you may consider adding a better error message, at first glance it's impossible to understand what's causing it.
I plan on improving error messages overall
👍
Planning on changing it to something simpler:
Adding a !
in front of file or directory tells sern to ignore loading it.
Also, not sure about dev and prod mode. might be too invasive
Describe the bug RxJS error when you don't implement every command/event module.
To Reproduce Steps to reproduce the behavior:
Expected behavior Ignoring not module exporting files could be better
Screenshots (none)
Versioning Node.js version: v16 discord.js version: v14.7 @sern/handler version: v2.6.2 Channel: stable
Additional context (none)