mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
640 B
640 B
editUrl, next, prev, title
| editUrl | next | prev | title |
|---|---|---|---|
| false | false | false | makeDependencies |
makeDependencies(
conf):Promise<void>
makeDependencies constructs a dependency injection container for sern handler to use. This is required to start the handler, and is to be called before Sern.init.
Parameters
• conf: ValidDependencyConfig
Returns
Promise<void>
Example
await makeDependencies(({ add }) => {
add('@sern/client', new Client({ intents, partials })
})