aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/hello.lua
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2025-03-24 20:59:26 +0000
committerterminaldweller <devi@terminaldweller.com>2025-03-24 20:59:26 +0000
commitdc824ea96667b60ede3ac62b75f18e1faded977d (patch)
tree942149ae3d0d394367dfd1bc469639c1413da240 /plugins/hello.lua
parentadded options to control the exponential backoff reconnects for irc and db (diff)
downloadmilla-dc824ea96667b60ede3ac62b75f18e1faded977d.tar.gz
milla-dc824ea96667b60ede3ac62b75f18e1faded977d.zip
initial support for triggered lua functionsHEADmain
Diffstat (limited to 'plugins/hello.lua')
-rw-r--r--plugins/hello.lua5
1 files changed, 5 insertions, 0 deletions
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")