matrix-bot-buscarron: feedback

This commit is contained in:
Aine 2022-04-25 09:40:49 +03:00
parent b720b15de6
commit c92af9fe89
No known key found for this signature in database
GPG Key ID: 34969C908CCA2804
2 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ It's a bot you can use to send any form (HTTP POST, HTML) to a (encrypted) matri
## Registering the bot user ## Registering the bot user
By default, the playbook will set up the bot with a username like this: `@buscarron:DOMAIN`. By default, the playbook will set up the bot with a username like this: `@bot.buscarron:DOMAIN`.
(to use a different username, adjust the `matrix_bot_buscarron_login` variable). (to use a different username, adjust the `matrix_bot_buscarron_login` variable).
@ -64,7 +64,7 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start
## Usage ## Usage
To use the bot, invite the `@buscarron:DOMAIN` to the room you specified in a config, after that any point your form to the form url, example for the `contact` form: To use the bot, invite the `@bot.buscarron:DOMAIN` to the room you specified in a config, after that any point your form to the form url, example for the `contact` form:
```html ```html
<form method="POST" action="https://buscarron.DOMAIN/contact"> <form method="POST" action="https://buscarron.DOMAIN/contact">

View File

@ -65,7 +65,7 @@ matrix_bot_buscarron_database_dialect: "{{
# The bot's username. This user needs to be created manually beforehand. # The bot's username. This user needs to be created manually beforehand.
# Also see `matrix_bot_buscarron_password`. # Also see `matrix_bot_buscarron_password`.
matrix_bot_buscarron_login: "buscarron" matrix_bot_buscarron_login: "bot.buscarron"
# The password that the bot uses to authenticate. # The password that the bot uses to authenticate.
matrix_bot_buscarron_password: '' matrix_bot_buscarron_password: ''