mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-25 21:39:27 +01:00
doc/Commands.md: add note about setting cap-override
This commit is contained in:
parent
b8815725bf
commit
8a69490d65
@ -328,6 +328,11 @@ Example:
|
|||||||
<pragma-> !lart someuser
|
<pragma-> !lart someuser
|
||||||
* PBot slaps someuser with a large rabid turkey.
|
* PBot slaps someuser with a large rabid turkey.
|
||||||
|
|
||||||
|
To allow an unpriviliged (not botowner, admin or chanop, etc) to use the `kick` command within the `lart` command, you must
|
||||||
|
set the `cap-override` [Factoid metadata](Factoids.md#factoid-metadata):
|
||||||
|
|
||||||
|
<pragma-> !factset lart cap-override can-kick 1
|
||||||
|
|
||||||
### Background processing
|
### Background processing
|
||||||
Any command can be flagged to be executed as a background process. For example, suppose you
|
Any command can be flagged to be executed as a background process. For example, suppose you
|
||||||
make a Plugin that has a command that may potentially take a long time to complete, which could
|
make a Plugin that has a command that may potentially take a long time to complete, which could
|
||||||
|
Loading…
Reference in New Issue
Block a user