Question - Dependancy injection

Is there DI built-in or do you recommend a certain one that fits nice with the library?
Solution:
just use what Sapphire already has - the container. In classes such as commands this.container or import { container } from '@sapphire/framework anywhere else.
Jump to solution
2 Replies
Solution
Favna
Favna12mo ago
just use what Sapphire already has - the container. In classes such as commands this.container or import { container } from '@sapphire/framework anywhere else.
Mikkel
Mikkel12mo ago
Thank you! This framework seems amazing from my overall glance, glad to have stumbled upon it