mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 11:59:43 +01:00
Update doc/Plugins/Plang.md
This commit is contained in:
parent
96eb19342a
commit
f766a9d735
@ -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.
|
[Plang](https://github.com/pragma-/Plang) lets you add custom built-in functions.
|
||||||
Several have been added for PBot; they are described here.
|
Several have been added for PBot; they are described here.
|
||||||
|
|
||||||
Function | Signature<hr>Description
|
Function | Signature<br>Description
|
||||||
--- | ---
|
--- | ---
|
||||||
[factget](#factget) | `factget(channel: String, keyword: String, meta: String = "action") -> String | Null`<hr>Retrieve metadata from factoids
|
[factget](#factget) | `factget(channel: String, keyword: String, meta: String = "action") -> String \| Null`<br>Retrieve metadata from factoids
|
||||||
[factset](#factset) | `factset(channel: String, keyword: String, text: String, meta: String = "action") -> String`<hr>Sets metadata on factoids
|
[factset](#factset) | `factset(channel: String, keyword: String, text: String, meta: String = "action") -> String`<br>Sets metadata on factoids
|
||||||
[factappend](#factappend) | `factappend(channel: String, keyword: String, text: String) -> String`<hr>Appends to the `action` metadata on factoids
|
[factappend](#factappend) | `factappend(channel: String, keyword: String, text: String) -> String`<br>Appends to the `action` metadata on factoids
|
||||||
[userget](#userget) | `userget(name: String) -> Map | Null`<hr>Retrieve metadata from users
|
[userget](#userget) | `userget(name: String) -> Map \| Null`<br>Retrieve metadata from users
|
||||||
|
|
||||||
### factget
|
### factget
|
||||||
Use the `factget` function to retrieve metadata from factoids.
|
Use the `factget` function to retrieve metadata from factoids.
|
||||||
|
Loading…
Reference in New Issue
Block a user