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
1 changed files with 4 additions and 2 deletions

View File

@ -505,9 +505,11 @@ such as line-breaks and indentation.
## Editing factoids
### 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
<PBot> C rocks!