Optional
bridgeOptional
affectsRegistration?: booleanIf true, the config will be required when generating a registration file.
The default options for the config file.
Path to a schema YAML file (string) or the parsed schema file (object).
Optional
enableEnable '--localpart [-l]' to allow users to configure the bot localpart.
Optional
enableEnable '--generate-registration' to allow users to generate a registration file.
Optional
generateThe function called when you should generate a registration.
Must be defined unless enableRegistration
is false
.
Optional
noDon't ask user for appservice url when generating registration.
Optional
onThis function is when the config is hot-reloaded. If not defined, hot-reloading is disabled.
You can hot-reload the bridge by sending a SIGHUP signal to the bridge.
Optional
registrationThe path to write the registration file to. Users can overwrite this with -f.
This function called when you should run the bridge.
Bridge-specific config info. If not defined, --config option will not be present in the CLI