mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-25 21:39:27 +01:00
doc: add "cap whohas"
This commit is contained in:
parent
d668c48b47
commit
f3559a3198
11
doc/Admin.md
11
doc/Admin.md
@ -20,6 +20,7 @@
|
|||||||
* [Removing capabilites from a group or deleting a group](#removing-capabilites-from-a-group-or-deleting-a-group)
|
* [Removing capabilites from a group or deleting a group](#removing-capabilites-from-a-group-or-deleting-a-group)
|
||||||
* [Giving capabilities to users](#giving-capabilities-to-users)
|
* [Giving capabilities to users](#giving-capabilities-to-users)
|
||||||
* [Checking user capabilities](#checking-user-capabilities)
|
* [Checking user capabilities](#checking-user-capabilities)
|
||||||
|
* [Listing users who have a capability](#listing-users-who-have-a-capability)
|
||||||
* [User capabilities list](#user-capabilities-list)
|
* [User capabilities list](#user-capabilities-list)
|
||||||
* [Channel management commands](#channel-management-commands)
|
* [Channel management commands](#channel-management-commands)
|
||||||
* [join](#join)
|
* [join](#join)
|
||||||
@ -204,7 +205,8 @@ Usage:
|
|||||||
cap list [capability] |
|
cap list [capability] |
|
||||||
cap group <existing or new capability group> <existing capability> |
|
cap group <existing or new capability group> <existing capability> |
|
||||||
cap ungroup <existing capability group> <grouped capability> |
|
cap ungroup <existing capability group> <grouped capability> |
|
||||||
cap userhas <user> [capability]
|
cap userhas <user> [capability] |
|
||||||
|
cap whohas <capability>
|
||||||
|
|
||||||
#### Listing capabilities
|
#### Listing capabilities
|
||||||
Use `cap list [capability]` to list user-capabilities.
|
Use `cap list [capability]` to list user-capabilities.
|
||||||
@ -293,6 +295,13 @@ capability is granted to the user account.
|
|||||||
<pragma-> cap userhas alice can-op
|
<pragma-> cap userhas alice can-op
|
||||||
<PBot> No. User alice does not have capability can-op.
|
<PBot> No. User alice does not have capability can-op.
|
||||||
|
|
||||||
|
#### Listing users who have a capability
|
||||||
|
To list all the users that have a capability, use the `cap whohas` command.
|
||||||
|
|
||||||
|
Usage: `cap whohas <capability>`
|
||||||
|
|
||||||
|
<pragma-> cap whohas moderator
|
||||||
|
<PBot> Users with capability moderator: alice
|
||||||
|
|
||||||
#### User capabilities list
|
#### User capabilities list
|
||||||
This is a list of built-in capability groups and capabilities. You can create
|
This is a list of built-in capability groups and capabilities. You can create
|
||||||
|
@ -84,11 +84,13 @@
|
|||||||
* [User metadata list](Admin.md#user-metadata-list)
|
* [User metadata list](Admin.md#user-metadata-list)
|
||||||
* [Listing users](Admin.md#listing-users)
|
* [Listing users](Admin.md#listing-users)
|
||||||
* [User capabilities](Admin.md#user-capabilities)
|
* [User capabilities](Admin.md#user-capabilities)
|
||||||
|
* [Introduction](Admin.md#introduction)
|
||||||
* [cap](Admin.md#cap)
|
* [cap](Admin.md#cap)
|
||||||
* [Listing capabilities](Admin.md#listing-capabilities)
|
* [Listing capabilities](Admin.md#listing-capabilities)
|
||||||
* [Grouping capabilities](Admin.md#grouping-capabilities)
|
* [Grouping capabilities](Admin.md#grouping-capabilities)
|
||||||
* [Giving capabilities to users](Admin.md#giving-capabilities-to-users)
|
* [Giving capabilities to users](Admin.md#giving-capabilities-to-users)
|
||||||
* [Checking user capabilities](Admin.md#checking-user-capabilities)
|
* [Checking user capabilities](Admin.md#checking-user-capabilities)
|
||||||
|
* [Listing users who have a capability](Admin.md#listing-users-who-have-a-capability)
|
||||||
* [User capabilities list](Admin.md#user-capabilities-list)
|
* [User capabilities list](Admin.md#user-capabilities-list)
|
||||||
* [Channel management commands](Admin.md#channel-management-commands)
|
* [Channel management commands](Admin.md#channel-management-commands)
|
||||||
* [join](Admin.md#join)
|
* [join](Admin.md#join)
|
||||||
@ -177,10 +179,10 @@
|
|||||||
* [factmove](Factoids.md#factmove)
|
* [factmove](Factoids.md#factmove)
|
||||||
* [factundo](Factoids.md#factundo)
|
* [factundo](Factoids.md#factundo)
|
||||||
* [factredo](Factoids.md#factredo)
|
* [factredo](Factoids.md#factredo)
|
||||||
* [Factoid Metadata](Factoids.md#factoid-metadata)
|
* [Factoid metadata](Factoids.md#factoid-metadata)
|
||||||
* [factset](Factoids.md#factset)
|
* [factset](Factoids.md#factset)
|
||||||
* [factunset](Factoids.md#factunset)
|
* [factunset](Factoids.md#factunset)
|
||||||
* [Factoid Metadata List](Factoids.md#factoid-metadata-list)
|
* [Factoid metadata List](Factoids.md#factoid-metadata-list)
|
||||||
* [Information about factoids](Factoids.md#information-about-factoids)
|
* [Information about factoids](Factoids.md#information-about-factoids)
|
||||||
* [factfind](Factoids.md#factfind)
|
* [factfind](Factoids.md#factfind)
|
||||||
* [factinfo](Factoids.md#factinfo)
|
* [factinfo](Factoids.md#factinfo)
|
||||||
|
Loading…
Reference in New Issue
Block a user