mirror of
https://github.com/YunoHost-Apps/mautrix_discord_ynh.git
synced 2024-09-03 19:36:35 +02:00
55 lines
2 KiB
TOML
55 lines
2 KiB
TOML
|
version = "1.0"
|
||
|
|
||
|
[main]
|
||
|
name = "Main Settings"
|
||
|
services = ["__APP__"]
|
||
|
|
||
|
[main.permissions]
|
||
|
name = "Permissions for using the bridge"
|
||
|
|
||
|
[main.permissions.helptext]
|
||
|
ask = '''
|
||
|
Roles with Increasing Power: Relay<User<Admin
|
||
|
Allowed values for roles:
|
||
|
- * : All Matrix users
|
||
|
- domain.tld : All users on a given homeserver
|
||
|
- mxid (@user:matrix.org) : Specific Matrix user
|
||
|
'''
|
||
|
type = "markdown"
|
||
|
|
||
|
[main.permissions.listrelay]
|
||
|
ask = "Users bridged thanks to Relay Mode"
|
||
|
type = "tags"
|
||
|
help = "Relay Role: Talk on WhatsApp through the RelayBot in a room where it has been activated with '!wa set-relay', no access otherwise."
|
||
|
|
||
|
[main.permissions.listuser]
|
||
|
ask = "Bridge Users"
|
||
|
type = "tags"
|
||
|
help = "User Role: Access to use the bridge to chat with a WhatsApp account."
|
||
|
|
||
|
[main.permissions.listadmin]
|
||
|
ask = "Bridge Administrators"
|
||
|
type = "tags"
|
||
|
help = "Admin Role: User level and some additional administration tools."
|
||
|
|
||
|
[main.bot]
|
||
|
name = "Robot Settings"
|
||
|
|
||
|
[main.bot.botname]
|
||
|
ask = "Username of the AppService Bot"
|
||
|
type = "string"
|
||
|
help = "Sets bot username. Please keep in mind that the bot admin room for previous bot username will stop working so you may need to create a new one using the new username"
|
||
|
bind = "bot>username:__INSTALL_DIR__/config.yaml"
|
||
|
|
||
|
[main.bot.displayname]
|
||
|
ask = "Display name for Bot"
|
||
|
type = "string"
|
||
|
help = "Set to 'remove' to remove display name, leave empty to set default 'WhatsApp bridge bot'"
|
||
|
bind = ":__INSTALL_DIR__/config.yaml"
|
||
|
|
||
|
[main.bot.avatar]
|
||
|
ask = "Avatar for Bot"
|
||
|
type = "string"
|
||
|
help = "Should be in format 'mxc://server_name/NeXNQarUbrlYBiPCpprYsRqr', see README for tutorial. Set to 'remove' to remove avatar, leave empty to use standard WhatsApp logo."
|
||
|
bind = ":__INSTALL_DIR__/config.yaml"
|