|
|
|
@@ -75,7 +75,11 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-use |
|
|
|
|
|
|
|
## Usage |
|
|
|
|
|
|
|
To use the bot, invite the `@bot.buscarron:example.com` 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 it to the room you specified on your `vars.yml` file (`/invite @bot.buscarron:example.com` where `example.com` is your base domain, not the `matrix.` domain). |
|
|
|
|
|
|
|
After the bot joins the room, anyone can call the web form via HTTP POST method. |
|
|
|
|
|
|
|
Here is an example for the `contact` form: |
|
|
|
|
|
|
|
```html |
|
|
|
<form method="POST" action="https://buscarron.example.com/contact"> |
|
|
|
|