Question - Dependancy injection
Is there DI built-in or do you recommend a certain one that fits nice with the library?
Solution:Jump to solution
just use what Sapphire already has - the
container
. In classes such as commands this.container
or import { container } from '@sapphire/framework
anywhere else.2 Replies