creds file -> config file

This commit is contained in:
Alex 2024-10-27 14:47:02 +03:00
parent c653055134
commit f199292aba
5 changed files with 70 additions and 49 deletions

View file

@ -1,8 +1,4 @@
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 = "!lheAkNnuTYwITzBxiW:altau.su"
CONFIG_FILE = (Path(os.path.dirname(os.path.realpath(__file__))) / "config.json").resolve()