Skip to content

Commit f204a3a

Browse files
authored
Merge pull request #3895 from luixxiul/fix
Edit docs for bots
2 parents 8e9ecdf + 3be6043 commit f204a3a

8 files changed

+49
-25
lines changed

docs/configuring-playbook-bot-baibot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-use
383383

384384
## Usage
385385

386-
To use the bot, invite the `@baibot:example.com` bot user into a room.
386+
To use the bot, invite it to any existing Matrix room (`/invite @baibot:example.com` where `example.com` is your base domain, not the `matrix.` domain).
387387

388388
If you're an allowed bot [👥 user](https://github.com/etkecc/baibot/blob/main/docs/access.md#user) (see [👥 Initial users configuration](#-initial-users-configuration)), the bot will accept your invitation and join the room.
389389

docs/configuring-playbook-bot-buscarron.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-use
7575

7676
## Usage
7777

78-
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:
78+
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).
79+
80+
After the bot joins the room, anyone can call the web form via HTTP POST method.
81+
82+
Here is an example for the `contact` form:
7983

8084
```html
8185
<form method="POST" action="https://buscarron.example.com/contact">
@@ -85,9 +89,9 @@ To use the bot, invite the `@bot.buscarron:example.com` to the room you specifie
8589

8690
**Note**: to fight against spam, Buscarron is **very aggressive when it comes to banning** and will ban you if:
8791

88-
- if you hit the homepage (HTTP `GET` request to `/`)
89-
- if you submit a form to the wrong URL (`POST` request to `/non-existing-form`)
90-
- if `hasemail` is enabled for the form (like in the example above) and you don't submit an `email` field
92+
- you hit the homepage (HTTP `GET` request to `/`)
93+
- you submit a form to the wrong URL (`POST` request to `/non-existing-form`)
94+
- `hasemail` is enabled for the form (like in the example above) and you don't submit an `email` field
9195

9296
If you get banned, you'd need to restart the process by running the playbook with `--tags=start` or running `systemctl restart matrix-bot-buscarron` on the server.
9397

docs/configuring-playbook-bot-chatgpt.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-use
7070

7171
## Usage
7272

73-
To use the bot, invite the `@bot.chatgpt:example.com` to the room you specified in a config, after that start speaking to it, use the prefix if you configured one or mention the bot.
73+
To use the bot, invite it to the room you specified on your `vars.yml` file (`/invite @bot.chatgpt:example.com` where `example.com` is your base domain, not the `matrix.` domain).
74+
75+
After the bot joins the room, you can send a message to it. When you do so, use the prefix if you configured it or mention the bot.
7476

7577
You can also refer to the upstream [documentation](https://github.com/matrixgpt/matrix-chatgpt-bot).

docs/configuring-playbook-bot-honoroit.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-use
6666

6767
## Usage
6868

69-
To use the bot, invite the `@honoroit:example.com` to the room you specified in config, after that any Matrix user can send a message to the `@honoroit:example.com` to start a new thread in that room.
69+
To use the bot, invite it to the room you specified on your `vars.yml` file (`/invite @honoroit:example.com` where `example.com` is your base domain, not the `matrix.` domain).
70+
71+
After the bot joins the room, any Matrix user can send a message to it to start a new thread in that room.
7072

7173
Send `!ho help` to the bot in the room to see the available commands.
7274

i18n/translation-templates/docs/configuring-playbook-bot-baibot.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: matrix-docker-ansible-deploy \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-12-20 23:17+0900\n"
11+
"POT-Creation-Date: 2024-12-22 11:54+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -384,7 +384,7 @@ msgid "Usage"
384384
msgstr ""
385385

386386
#: ../../../docs/configuring-playbook-bot-baibot.md:386
387-
msgid "To use the bot, invite the `@baibot:example.com` bot user into a room."
387+
msgid "To use the bot, invite it to any existing Matrix room (`/invite @baibot:example.com` where `example.com` is your base domain, not the `matrix.` domain)."
388388
msgstr ""
389389

390390
#: ../../../docs/configuring-playbook-bot-baibot.md:388

i18n/translation-templates/docs/configuring-playbook-bot-buscarron.pot

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: matrix-docker-ansible-deploy \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-12-20 07:23+0200\n"
11+
"POT-Creation-Date: 2024-12-22 11:54+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -101,29 +101,37 @@ msgid "Usage"
101101
msgstr ""
102102

103103
#: ../../../docs/configuring-playbook-bot-buscarron.md:78
104-
msgid "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:"
104+
msgid "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)."
105105
msgstr ""
106106

107-
#: ../../../docs/configuring-playbook-bot-buscarron.md:86
107+
#: ../../../docs/configuring-playbook-bot-buscarron.md:80
108+
msgid "After the bot joins the room, anyone can call the web form via HTTP POST method."
109+
msgstr ""
110+
111+
#: ../../../docs/configuring-playbook-bot-buscarron.md:82
112+
msgid "Here is an example for the `contact` form:"
113+
msgstr ""
114+
115+
#: ../../../docs/configuring-playbook-bot-buscarron.md:90
108116
msgid "**Note**: to fight against spam, Buscarron is **very aggressive when it comes to banning** and will ban you if:"
109117
msgstr ""
110118

111-
#: ../../../docs/configuring-playbook-bot-buscarron.md:88
112-
msgid "if you hit the homepage (HTTP `GET` request to `/`)"
119+
#: ../../../docs/configuring-playbook-bot-buscarron.md:92
120+
msgid "you hit the homepage (HTTP `GET` request to `/`)"
113121
msgstr ""
114122

115-
#: ../../../docs/configuring-playbook-bot-buscarron.md:89
116-
msgid "if you submit a form to the wrong URL (`POST` request to `/non-existing-form`)"
123+
#: ../../../docs/configuring-playbook-bot-buscarron.md:93
124+
msgid "you submit a form to the wrong URL (`POST` request to `/non-existing-form`)"
117125
msgstr ""
118126

119-
#: ../../../docs/configuring-playbook-bot-buscarron.md:90
120-
msgid "if `hasemail` is enabled for the form (like in the example above) and you don't submit an `email` field"
127+
#: ../../../docs/configuring-playbook-bot-buscarron.md:94
128+
msgid "`hasemail` is enabled for the form (like in the example above) and you don't submit an `email` field"
121129
msgstr ""
122130

123-
#: ../../../docs/configuring-playbook-bot-buscarron.md:92
131+
#: ../../../docs/configuring-playbook-bot-buscarron.md:96
124132
msgid "If you get banned, you'd need to restart the process by running the playbook with `--tags=start` or running `systemctl restart matrix-bot-buscarron` on the server."
125133
msgstr ""
126134

127-
#: ../../../docs/configuring-playbook-bot-buscarron.md:94
135+
#: ../../../docs/configuring-playbook-bot-buscarron.md:98
128136
msgid "You can also refer to the upstream [documentation](https://github.com/etkecc/buscarron)."
129137
msgstr ""

i18n/translation-templates/docs/configuring-playbook-bot-chatgpt.pot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: matrix-docker-ansible-deploy \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-12-20 07:23+0200\n"
11+
"POT-Creation-Date: 2024-12-22 11:54+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -105,9 +105,13 @@ msgid "Usage"
105105
msgstr ""
106106

107107
#: ../../../docs/configuring-playbook-bot-chatgpt.md:73
108-
msgid "To use the bot, invite the `@bot.chatgpt:example.com` to the room you specified in a config, after that start speaking to it, use the prefix if you configured one or mention the bot."
108+
msgid "To use the bot, invite it to the room you specified on your `vars.yml` file (`/invite @bot.chatgpt:example.com` where `example.com` is your base domain, not the `matrix.` domain)."
109109
msgstr ""
110110

111111
#: ../../../docs/configuring-playbook-bot-chatgpt.md:75
112+
msgid "After the bot joins the room, you can send a message to it. When you do so, use the prefix if you configured it or mention the bot."
113+
msgstr ""
114+
115+
#: ../../../docs/configuring-playbook-bot-chatgpt.md:77
112116
msgid "You can also refer to the upstream [documentation](https://github.com/matrixgpt/matrix-chatgpt-bot)."
113117
msgstr ""

i18n/translation-templates/docs/configuring-playbook-bot-honoroit.pot

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: matrix-docker-ansible-deploy \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-12-20 23:17+0900\n"
11+
"POT-Creation-Date: 2024-12-22 11:54+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -105,13 +105,17 @@ msgid "Usage"
105105
msgstr ""
106106

107107
#: ../../../docs/configuring-playbook-bot-honoroit.md:69
108-
msgid "To use the bot, invite the `@honoroit:example.com` to the room you specified in config, after that any Matrix user can send a message to the `@honoroit:example.com` to start a new thread in that room."
108+
msgid "To use the bot, invite it to the room you specified on your `vars.yml` file (`/invite @honoroit:example.com` where `example.com` is your base domain, not the `matrix.` domain)."
109109
msgstr ""
110110

111111
#: ../../../docs/configuring-playbook-bot-honoroit.md:71
112-
msgid "Send `!ho help` to the bot in the room to see the available commands."
112+
msgid "After the bot joins the room, any Matrix user can send a message to it to start a new thread in that room."
113113
msgstr ""
114114

115115
#: ../../../docs/configuring-playbook-bot-honoroit.md:73
116+
msgid "Send `!ho help` to the bot in the room to see the available commands."
117+
msgstr ""
118+
119+
#: ../../../docs/configuring-playbook-bot-honoroit.md:75
116120
msgid "You can also refer to the upstream [documentation](https://github.com/etkecc/honoroit#features)."
117121
msgstr ""

0 commit comments

Comments
 (0)