AccessControlGUI.php

From Bebot Wiki 2
Revision as of 23:41, 22 August 2021 by B3b0tUzR (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Access Control GUI

Description

This GUI allows changes to the minimum access levels for commands.


Features

 * Lists all commands for specific channels with current rights
 * Allows changes to those rights


Commands provided
^Command  ^ Keyword  ^Argument(s)   ^Description                          ^Tell      ^Guild     ^Priv      ^
|!commands|          |              |Shows a list of the channels with chat commands|Owner|N/A|N/A|
|!commands|          | <tell/pgmsg/gc> |Shows the chat commands for the selected channel with current access levels and allows changing the access levels|Owner|N/A|N/A|
|!commands| update | <tell/pgmsg/gc> <//command//> <//newlevel//> |Sets the minimal access level for //command// to //newlevel//|Owner|N/A|N/A|

!channel - Shows the current lock status for commands in guild chat and private chat group.

!channel [lock|unlock] [gc|pgmsg] - Locks or unlocks access to commands in guild chat or private chat group.

Notes

//commands update// accepts the following shortcuts instead of full level names:

^Shortcut ^Access level ^
| AN | ANONYMOUS |
| G | GUEST |
| M | MEMBER |
| L | LEADER |
| A | ADMIN |
| SA | SUPERADMIN |
| O | OWNER |
| D | DISABLED |