We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 505efde commit c18ab47Copy full SHA for c18ab47
src/configs/container.ts
@@ -14,8 +14,7 @@ const bind = container.bind.bind(container)
14
// Client
15
bind<RoBoostClient>(TYPES.RoBoostClient).to(RoBoostClient)
16
.inSingletonScope()
17
-bind<BloxyClient>(TYPES.BloxyClient).toDynamicValue(() => new BloxyClient({ rest: { requester: bloxy.requester } }))
18
- .inSingletonScope()
+bind<BloxyClient>(TYPES.BloxyClient).toConstantValue(new BloxyClient({ rest: { requester: bloxy.requester } }))
19
20
// Event Handlers
21
bind<BaseHandler>(TYPES.Handler).to(eventHandlers.GuildMemberRemoveEventHandler)
0 commit comments