AccessControlGUI.php

From Bebot Wiki 2
Jump to navigationJump to search
Access Control GUI[edit]

Description[edit]

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


Features[edit]

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


Commands provided[edit]
^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[edit]

//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 |