From 2a49844a95593ac98e919c18651320e62f276fa7 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 6 Apr 2025 17:28:47 +0400 Subject: feat: implementing lua coding --- luamods/hello.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 luamods/hello.lua (limited to 'luamods/hello.lua') 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 +} -- cgit v1.2.3