3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

doc/Plugins/Plang.md: very minor tweaks

This commit is contained in:
Pragmatic Software 2020-09-20 23:12:43 -07:00
parent 0ba109b594
commit d2030e21fd

View File

@ -18,7 +18,7 @@ internal APIs and state.
## The Plang Language ## The Plang Language
The scripting language is [Plang](https://github.com/pragma-/Plang). It was The scripting language is [Plang](https://github.com/pragma-/Plang). It was
written specifically for PBot, but is powerful enough to be used as a general-purpose written specifically for PBot, but aims to be powerful enough to be used as a general-purpose
scripting language embedded into any Perl application. scripting language embedded into any Perl application.
This document describes PBot's Plang plugin. To learn how to use the Plang scripting This document describes PBot's Plang plugin. To learn how to use the Plang scripting
@ -74,7 +74,7 @@ Use the `userget` function to retrieve user metadata.
The `userget` function takes one parameter: `name`. The `userget` function takes one parameter: `name`.
The `userget` function returns a `Map` containing all the metadata of the user, or The `userget` function returns a `Map` containing all the metadata of the user, or
`nil` if there is no user matching `name`. `null` if there is no user matching `name`.
See the [Plang Map documentation](https://github.com/pragma-/Plang#map) for a refresher on using Plang maps. See the [Plang Map documentation](https://github.com/pragma-/Plang#map) for a refresher on using Plang maps.