Twasi / twasi-core

Core application and backend of the Twasi chatbot for Twitch.
MIT License
19 stars 4 forks source link

Dependency Injection System #35

Closed DieserMerlin closed 5 years ago

DieserMerlin commented 5 years ago

Twasi Plugins should specify on which other plugins (or dependencies) they depend on. Twasi Core must not enable them before all of their dependencies are enabled.

Otherwise some plugins might not enable correctly when they use a service of another plugin.

DieserMerlin commented 5 years ago

Done https://github.com/Twasi/twasi-core/commit/0913224a0973037d15313fc59cdb8b09876229a9 - https://github.com/Twasi/twasi-core/commit/c95b4c802f95a7d11c08be765e103d9c081ed188