Describe the bug
Module Service constructors are called more than once on startup.
To Reproduce
Steps to reproduce the behavior:
- Start the bot with TestModule
- Observe the console for constructor call messages.
Expected behavior
All modules with service dependencies, should only call said dependency's constructor once.
Additional context
There's a super rad, and easy work around to the problem. bool doonce;. BUT I'm making note of this if anyone out there has any idea as to why this happens.
Describe the bug
Module Service constructors are called more than once on startup.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All modules with service dependencies, should only call said dependency's constructor once.
Additional context
There's a super rad, and easy work around to the problem.
bool doonce;. BUT I'm making note of this if anyone out there has any idea as to why this happens.