diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-06-10 01:13:23 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-06-10 01:13:23 +0000 |
commit | d1af44bed4e714799b7dedab7cb2909ec7dffb8b (patch) | |
tree | d9349e463203405239956eb66c80ec1a61486ae9 /README.md | |
parent | fixes #33 (diff) | |
download | milla-d1af44bed4e714799b7dedab7cb2909ec7dffb8b.tar.gz milla-d1af44bed4e714799b7dedab7cb2909ec7dffb8b.zip |
added a new lua function, query_db
Diffstat (limited to '')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -550,6 +550,8 @@ There are a few libraries written in go specifically for gopher-lua that are ava An example plugin is provided under `plugins/rss.lua`.<br/> ```yaml +period: 3600 +channel: "#rssfeed" rssfeeds: - name: "one" url: "https://www.youtube.com/feeds/videos.xml?channel_id=UCaiL2GDNpLYH6Wokkk1VNcg" @@ -677,6 +679,10 @@ milla.send_gemini_request(prompt) milla.send_chatgpt_request(prompt) ``` +```lua +milla.query_db(query) +``` + The example rss plugin, accepts a yaml file as input, reeds the provided rss feeds once, extracts the title, author name and link to the resource, sends the feed over to the `#rssfeed` irc channel and exits.<br/> More of milla's functionality will be available through milla's lua module over time.<br/>' |