matrix-bot: Working timer

matrix-bot: Working timer 2

matrix-bot: nix fmt
This commit is contained in:
Qubasa
2024-07-02 19:25:15 +02:00
parent f6e77f3c1b
commit 53c4195932
6 changed files with 129 additions and 56 deletions

View File

@@ -62,7 +62,7 @@ async def send_message(
formatted_message = f"{mention_list}: {formatted_message}"
content = {
"msgtype": "m.notice",
"msgtype": "m.text" if user_ids else "m.notice",
"format": "org.matrix.custom.html",
"body": message,
"formatted_body": formatted_message,
@@ -82,4 +82,7 @@ class MatrixData:
user: str
avatar: Path
password: str
room: str
changelog_room: str
review_room: str
changelog_frequency: int
publish_day: str