Do base message recognition

This commit is contained in:
Слонова Анна 2026-03-22 00:29:51 +03:00
parent 55cec3b876
commit 4f8e10df16
4 changed files with 240 additions and 2 deletions

11
.env.example Normal file
View file

@ -0,0 +1,11 @@
HOMESERVER=https://matrix.org
# Bot's Matrix username (full MXID)
MATRIX_USERNAME=@your_bot:matrix.org
# Either use password OR access token
PASSWORD=
ACCESS_TOKEN=syt_...
# Allowed rooms (comma-separated, no spaces)
ALLOWED_ROOMS=!roomid1:matrix.org,!roomid2:matrix.org