3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 11:12:42 +01:00

doc/FAQ.md: add usage examples for whitelisting users

This commit is contained in:
Pragmatic Software 2020-02-10 00:32:50 -08:00
parent 1b64cfaf25
commit af2cbd31dc

View File

@ -58,5 +58,9 @@ To whitelist a user, use the [`useradd`](Admin.md#useradd) command with the
`is-whitelisted` capability argument. To whitelist them in all channels, add
the user to the global channel.
Usage: `useradd <user account name> <channel> <hostmask> is-whitelisted`
If the user already exists, use the [`userset`](Admin.md#userset) command to
grant them the `is-whitelisted` capability.
Usage: `userset <user account name> is-whitelisted 1`