3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-01 16:39:27 +01:00

doc/Factoids.md: factchange can take a -url option

This commit is contained in:
Pragmatic Software 2020-01-22 11:19:56 -08:00
parent 345dd0930b
commit def064d7f2

View File

@ -505,9 +505,11 @@ such as line-breaks and indentation.
## Editing factoids ## Editing factoids
### factchange ### factchange
To change a factoid, use the `factchange` command: To change a factoid, use the `factchange` command. This command can alternatively
accept a Web paste site via the `-url` option; this allows you to use your local
editor to set factoid text that can include line-breaks and indentation.
Usage: `factchange [channel] <keyword> s/<pattern>/<change to>/[gi]` Usage: `factchange [channel] <keyword> (s/<pattern>/<change to>/[gi] | -url <paste site>)`
<pragma-> !c <pragma-> !c
<PBot> C rocks! <PBot> C rocks!