Skip to content
Interfacetypesv0.17.0

BaseServerConfig

interface BaseServerConfig

Properties

health

The path that answers your host's health check. It answers 503 until every plugin's ready() finishes, then 200, and 503 again once shutdown starts. false turns it off.

health?: `/${string}` | false

Default:'/health'

url

The address people reach your bot at, like https://bot.example.com. A plugin builds links to its own routes from it, like a webhook URL. Include the path if your host serves the bot under one.

url?: string | URL