summaryrefslogtreecommitdiff
path: root/luamods
diff options
context:
space:
mode:
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
+}