mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 11:59:43 +01:00
doc: improvements
This commit is contained in:
parent
72d2ac5b04
commit
1c07f66a35
@ -210,7 +210,7 @@ stand-alone self-contained units of code that can be loaded by the PBot owner.
|
|||||||
Functions are commands that accept input, manipulate it and then output the result. They are extremely
|
Functions are commands that accept input, manipulate it and then output the result. They are extremely
|
||||||
useful with [piping](#piping) or [command substituting](#substitution).
|
useful with [piping](#piping) or [command substituting](#substitution).
|
||||||
|
|
||||||
For example, the `uri_escape` function demonstrated in the [Substitutions](#substitutions) section earlier
|
For example, the `uri_escape` function demonstrated in the [Substitution](#substitution) section earlier
|
||||||
makes text safe for use in a URL. We also saw the `sed` and `uc` functions demonstrated in [Piping](#piping).
|
makes text safe for use in a URL. We also saw the `sed` and `uc` functions demonstrated in [Piping](#piping).
|
||||||
|
|
||||||
Functions can be loaded via PBot Plugins.
|
Functions can be loaded via PBot Plugins.
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
# Functions
|
# Functions
|
||||||
|
|
||||||
This is a place-holder from the main [README](../README.md#functions) until I have time to flesh this out more.
|
|
||||||
If you've already read that section, there is nothing new here.
|
|
||||||
|
|
||||||
Functions are commands that accept input, manipulate it and then output the result. They are extremely
|
Functions are commands that accept input, manipulate it and then output the result. They are extremely
|
||||||
useful with [piping](../README.md#piping) or [command substituting](../README.md#substitution).
|
useful with [piping](../README.md#piping) or [command substituting](../README.md#substitution).
|
||||||
|
|
||||||
For example, the `uri_escape` function demonstrated in the [Substitutions](../README.md#substitutions) section earlier
|
For example, the `uri_escape` function demonstrated in the [Substitution](../README.md#substitution) section earlier
|
||||||
makes text safe for use in a URL. We also saw the `sed` and `uc` functions demonstrated in [Piping](../README.md#piping).
|
makes text safe for use in a URL. We also saw the `sed` and `uc` functions demonstrated in [Piping](../README.md#piping).
|
||||||
|
|
||||||
<pragma-> uri_escape thing's & words
|
<pragma-> uri_escape thing's & words
|
||||||
@ -30,3 +27,5 @@ Name | Description
|
|||||||
`ucfirst` | Uppercases the first character of the text.
|
`ucfirst` | Uppercases the first character of the text.
|
||||||
`uc` | Uppercases all characters.
|
`uc` | Uppercases all characters.
|
||||||
`lc` | Lowercases all characters.
|
`lc` | Lowercases all characters.
|
||||||
|
|
||||||
|
Additional Functions can be loaded via PBot Plugins.
|
||||||
|
Loading…
Reference in New Issue
Block a user