You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
464 B
24 lines
464 B
### This is a template for writing a bot using simplematrixbotlib
|
|
|
|
#### Setup
|
|
|
|
First clone repo and create `.env` and `config.toml`
|
|
|
|
Examples:
|
|
|
|
`.env`
|
|
```dotenv
|
|
USERNAME=@catbot:example.com
|
|
PASSWORD=password
|
|
SERVER=https://example.com
|
|
```
|
|
|
|
[allowlist and blocklist formats](https://simple-matrix-bot-lib.readthedocs.io/en/latest/examples.html#id2)
|
|
|
|
`config.toml`
|
|
```toml
|
|
[simplematrixbotlib.config]
|
|
allowlist = []
|
|
blocklist = []
|
|
admin_id = '@admin:example.com'
|
|
``` |