mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 05:49:27 +01:00
Doc/Commands.md: update list commands
with an example
This commit is contained in:
parent
44e3443e7d
commit
80b64a6fb5
@ -369,7 +369,10 @@ subroutine and data structures.
|
|||||||
To list all built-in commands, use the `list commands` command.
|
To list all built-in commands, use the `list commands` command.
|
||||||
|
|
||||||
Commands prefixed with a `+` require the user to have the respective `can-<command>`
|
Commands prefixed with a `+` require the user to have the respective `can-<command>`
|
||||||
user-capability in order to invoke it.
|
[user-capability](Admin.md#user-capabilities) in order to invoke it.
|
||||||
|
|
||||||
|
<pragma-> list commands
|
||||||
|
<PBot> Registered commands: +actiontrigger aka +akadelete +akalink +akaunlink +antispam +ban +ban-exempt banlist battleship +blacklist cap +chanadd +chanlist ... etc
|
||||||
|
|
||||||
#### Creating new built-in commands
|
#### Creating new built-in commands
|
||||||
Built-in commands are created via the `register()` function of the `Commands`
|
Built-in commands are created via the `register()` function of the `Commands`
|
||||||
|
Loading…
Reference in New Issue
Block a user