Optional
bridgeOptional
affectsIf 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.
true
Optional
enableEnable '--generate-registration' to allow users to generate a registration file.
true
Optional
generateThe function called when you should generate a registration.
Must be defined unless enableRegistration
is false
.
The 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.
false
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.
This 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.
"registration.yaml"
This function called when you should run the bridge.
This function called when you should run the bridge.
Generated using TypeDoc
Bridge-specific config info. If not defined, --config option will not be present in the CLI