mirror of
https://gitlab.com/octospacc/WinDog.git
synced 2025-06-05 22:09:20 +02:00
Move all new strings to YAML, basic working Matrix backend with text messages
This commit is contained in:
@ -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),
|
||||
])
|
||||
|
||||
|
7
ModWinDog/Scripting/Scripting.yaml
Normal file
7
ModWinDog/Scripting/Scripting.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
summary:
|
||||
en: Tools for programming the bot and expanding its features.
|
||||
endpoints:
|
||||
lua:
|
||||
summary:
|
||||
en: Execute a Lua snippet and get its output.
|
||||
|
Reference in New Issue
Block a user