aboutsummaryrefslogtreecommitdiffstats
path: root/plugins.go
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-08-31 02:29:03 +0000
committerterminaldweller <devi@terminaldweller.com>2024-08-31 02:29:03 +0000
commitdec4c4fcd76bcb157821c2f383a77ef7f12ada31 (patch)
treee1df590f61f5bcbba7498feab65b5f588881e04b /plugins.go
parent* fixed a bug where we would end up with an unwanted whitespace at the (diff)
downloadmilla-dec4c4fcd76bcb157821c2f383a77ef7f12ada31.tar.gz
milla-dec4c4fcd76bcb157821c2f383a77ef7f12ada31.zip
added rss functionality to milla, watchlists now allow you to give them a color so they can actually show you what they matched, bunch of other changes
Diffstat (limited to 'plugins.go')
-rw-r--r--plugins.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins.go b/plugins.go
index 8e15976..2503e3d 100644
--- a/plugins.go
+++ b/plugins.go
@@ -343,6 +343,7 @@ func millaModuleLoaderClosure(luaState *lua.LState, client *girc.Client, appConf
registerStructAsLuaMetaTable[TomlConfig](luaState, millaModule, checkStruct, TomlConfig{}, "toml_config")
registerStructAsLuaMetaTable[CustomCommand](luaState, millaModule, checkStruct, CustomCommand{}, "custom_command")
registerStructAsLuaMetaTable[LogModel](luaState, millaModule, checkStruct, LogModel{}, "log_model")
+ registerStructAsLuaMetaTable[girc.Event](luaState, millaModule, checkStruct, girc.Event{}, "girc_event")
luaState.SetGlobal("milla", millaModule)