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

@ -52,7 +52,7 @@ end)()"""))
Log(textOutput := ("Lua Error: " + str(error)))
SendMessage(context, {"TextPlain": textOutput})
RegisterModule(name="Scripting", group="Geek", summary="Tools for programming the bot and expanding its features.", endpoints=[
SafeNamespace(names=["lua"], summary="Execute a Lua snippet and get its output.", handler=cLua),
RegisterModule(name="Scripting", group="Geek", endpoints=[
SafeNamespace(names=["lua"], handler=cLua),
])