Difference between revisions of "AccessControlGUI.php"
From Bebot Wiki 2
Jump to navigationJump to search (→Notes) |
|||
Line 19: | Line 19: | ||
|!commands| update | <tell/pgmsg/gc> <//command//> <//newlevel//> |Sets the minimal access level for //command// to //newlevel//|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| | ||
</pre> | </pre> | ||
+ | |||
+ | !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 ===== | ===== Notes ===== |
Latest revision as of 23:41, 22 August 2021
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 |