Move all new strings to YAML, basic working Matrix backend with text messages

This commit is contained in:
2024-06-29 01:52:53 +02:00
parent 4afb5f3275
commit 6d2f51f02c
23 changed files with 153 additions and 81 deletions

View File

@@ -13,7 +13,7 @@ def cBroadcast(context:EventContext, data:InputMessageData) -> None:
SendMessage(context, {"TextPlain": "Executed."})
RegisterModule(name="Broadcast", endpoints=[
SafeNamespace(names=["broadcast"], summary="Sends an admin message over to any chat destination.", handler=cBroadcast, arguments={
SafeNamespace(names=["broadcast"], handler=cBroadcast, arguments={
"destination": True,
}),
])