alerting framework

This commit is contained in:
Alex 2024-06-16 14:43:35 +03:00
parent 0184a47345
commit d3c8b000b0
6 changed files with 145 additions and 1 deletions

8
alerting/common.py Normal file
View file

@ -0,0 +1,8 @@
import os
from pathlib import Path
CREDS_FILE = (Path(os.path.dirname(os.path.realpath(__file__))) / "credentials.json").resolve()
HOMESERVER = "https://matrix.altau.su"
USER_ID = "@AlertBot:altau.su"
DEVICE_NAME = "lego"
ROOM_ID = "!aSCaiSJfLHslrJrHiJ:altau.su"