You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,6 @@ The available commands are:
15
15
-`/adminremove <name>`: Remove an admin.
16
16
-`/authorize <command>`: Authorize the current chat to use the given command (must be one of the command from the list above).
17
17
-`/unauthorize <command>`: Unauthorize the current chat to use the given command (must be one of the command from the list above).
18
-
-`/committeeadd <names>`: Add a list of persons to the committee. `<names>` must be a space-separated list.
19
-
-`/committeeremove <names>`: Remove a list of persons from the committee. `<names>` must be a space-separated list.
20
18
21
19
## Configuration
22
20
@@ -26,16 +24,19 @@ The available commands are:
26
24
-`ADMIN_TOKEN`: The token used to authenticate admin users.
27
25
-`DATA_DIR`: The directory where the bot will read/write data
28
26
-`DATABASE_URL` (optional): The url of the SQLite database. Defaults to `sqlite://${DATA_DIR}/db.sqlite`.
27
+
-`DIRECTUS_URL`: Base url of the Directus instance used.
28
+
-`DIRECTUS_TOKEN`: Token for Directus RoboCLIC user.
29
29
30
30
## Deployment
31
31
32
32
The bot can be run either using [cargo](https://doc.rust-lang.org/cargo/), or the provided Docker image.
33
33
34
34
The latter is preferred, since it allows off-the-shelf use. The configuration required is the same as specified above, the config file can directly be mounted in the container.
0 commit comments