summaryrefslogtreecommitdiff
path: root/luamods
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-06 17:28:47 +0400
committerilotterytea <iltsu@alright.party>2025-04-06 17:28:47 +0400
commit2a49844a95593ac98e919c18651320e62f276fa7 (patch)
tree01b7e2ebb1dc7a9ac92e7c3105edfd098271f29a /luamods
parenta1a36cf4d4999b5ce89dce95364c9fd839b54b5d (diff)
feat: implementing lua coding
Diffstat (limited to 'luamods')
-rw-r--r--luamods/hello.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/luamods/hello.lua b/luamods/hello.lua
new file mode 100644
index 0000000..5facbf5
--- /dev/null
+++ b/luamods/hello.lua
@@ -0,0 +1,10 @@
+return {
+ name = "hello",
+ delay_sec = 5,
+ options = {},
+ subcommands = {},
+ minimal_rights = "user",
+ handle = function(request)
+ return "hello, " .. request.sender.alias_name .. "!"
+ end
+}