From dc824ea96667b60ede3ac62b75f18e1faded977d Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 24 Mar 2025 16:59:26 -0400 Subject: initial support for triggered lua functions --- plugins/hello.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 plugins/hello.lua (limited to 'plugins/hello.lua') diff --git a/plugins/hello.lua b/plugins/hello.lua new file mode 100644 index 0000000..b9c5bc2 --- /dev/null +++ b/plugins/hello.lua @@ -0,0 +1,5 @@ +local milla = require("milla") + +function hello() milla.reply_to("hello") end + +milla.register_cmd("/plugins/hello.lua", "hello", "hello") -- cgit v1.2.3