dots-matrix-bot is the interface for dots-bot-api to have access to Dots Platform Clients API using matrix.
setup dots-bot-api, before continue.
clone this repository.
create
.env
. Example:USERNAME=@example:example.com PASSWORD=password SERVER=https://example.com BOT_API_BASE_URL=https://domain
change the
config.toml
: more about allowlist and blocklist formats Example:[simplematrixbotlib.config] allowlist = [] blocklist = [] admin_id = '@admin:example.com'
check that dots-bot-api is accessible, if it works then you can continue.
change base url in
src/config/dots_bot_api_config.py
: Example:_base_url = "https://dotsapi.server.com"
run
sudo docker-compose up -d
in the project folder.run
sudo docker ps
to see thatdots_matrix_bot
is run.Now you can add bot to your chat and run commands.
dots-matrix-bot uses simplematrixbotlibtemplate.
Kostiantyn Klochko (c) 2023
Under the GNU Affero General Public License v3.0 or later.