parent
2cc416ac00
commit
86698098cd
@ -1,24 +0,0 @@
|
|||||||
### 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'
|
|
||||||
```
|
|
@ -0,0 +1,19 @@
|
|||||||
|
dots-matrix-bot
|
||||||
|
===============
|
||||||
|
|
||||||
|
dots-matrix-bot is the interface for
|
||||||
|
`dots-bot-api <https://gitlab.com/KKlochko/dots-bot-api/>`__ to have
|
||||||
|
access to `Dots Platform Clients API <https://docs.dots.live/>`__ using
|
||||||
|
matrix.
|
||||||
|
|
||||||
|
Template
|
||||||
|
========
|
||||||
|
|
||||||
|
dots-matrix-bot uses
|
||||||
|
`simplematrixbotlib\ template <https://github.com/foresle/simplematrixbotlib_template>`__.
|
||||||
|
|
||||||
|
Author
|
||||||
|
======
|
||||||
|
|
||||||
|
Kostiantyn Klochko (c) 2023
|
||||||
|
|
Loading…
Reference in new issue