3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-10-20 18:17:26 +02:00

Document factcopy (#77)

This commit is contained in:
JustAnotherArchivist 2025-10-18 23:45:15 +00:00 committed by GitHub
parent 745d56d280
commit 913e5a9273
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,7 @@
* [Channel namespaces](#channel-namespaces)
* [Adding/removing factoids](#addingremoving-factoids)
* [factadd](#factadd)
* [factcopy](#factcopy)
* [factrem](#factrem)
* [forget](#forget)
* [factalias](#factalias)
@ -505,6 +506,13 @@ To add a factoid to the global channel, use `global` as the channel parameter.
To force overwriting an existing factoid, use the `-f` option.
### factcopy
To copy a factoid to a different name or channel, use the `factcopy` command:
Usage: `factcopy <source channel> <source factoid> <target channel/factoid> [target factoid]`
If three arguments are given, the factoid is copied in the source channel. If four arguments are given, the factoid is copied to the target channel with the target name.
### factrem
### forget

View File

@ -206,6 +206,7 @@
* [Channel namespaces](Factoids.md#channel-namespaces)
* [Adding/removing factoids](Factoids.md#addingremoving-factoids)
* [factadd](Factoids.md#factadd)
* [factcopy](Factoids.md#factcopy)
* [factrem](Factoids.md#factrem)
* [forget](Factoids.md#forget)
* [factalias](Factoids.md#factalias)