mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 08:32:24 +00:00
first commit
This commit is contained in:
11
com/echo.lua
Normal file
11
com/echo.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
--- #description = "Echoes back the message provided in the 'msg' parameter."
|
||||
|
||||
if not Params.msg then
|
||||
Result.status = "error"
|
||||
Result.error = "Missing parameter: msg"
|
||||
return
|
||||
end
|
||||
|
||||
Result.status = "ok"
|
||||
Result.answer = Params.msg
|
||||
return
|
||||
Reference in New Issue
Block a user