From f766a9d7353a414512b39ecdff5a0370906eba64 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 1 Oct 2020 17:40:44 -0700 Subject: [PATCH] Update doc/Plugins/Plang.md --- doc/Plugins/Plang.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/Plugins/Plang.md b/doc/Plugins/Plang.md index b2ff4582..a58ee561 100644 --- a/doc/Plugins/Plang.md +++ b/doc/Plugins/Plang.md @@ -42,12 +42,12 @@ is preserved in-between commands and the types of values is output along with th [Plang](https://github.com/pragma-/Plang) lets you add custom built-in functions. Several have been added for PBot; they are described here. -Function | Signature
Description +Function | Signature
Description --- | --- -[factget](#factget) | `factget(channel: String, keyword: String, meta: String = "action") -> String | Null`
Retrieve metadata from factoids -[factset](#factset) | `factset(channel: String, keyword: String, text: String, meta: String = "action") -> String`
Sets metadata on factoids -[factappend](#factappend) | `factappend(channel: String, keyword: String, text: String) -> String`
Appends to the `action` metadata on factoids -[userget](#userget) | `userget(name: String) -> Map | Null`
Retrieve metadata from users +[factget](#factget) | `factget(channel: String, keyword: String, meta: String = "action") -> String \| Null`
Retrieve metadata from factoids +[factset](#factset) | `factset(channel: String, keyword: String, text: String, meta: String = "action") -> String`
Sets metadata on factoids +[factappend](#factappend) | `factappend(channel: String, keyword: String, text: String) -> String`
Appends to the `action` metadata on factoids +[userget](#userget) | `userget(name: String) -> Map \| Null`
Retrieve metadata from users ### factget Use the `factget` function to retrieve metadata from factoids.