Editing BanManager.php
From Bebot Wiki 2
Jump to navigationJump to searchWarning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 12: | Line 12: | ||
* optional reason for a ban is saved | * optional reason for a ban is saved | ||
* shows all information about banned users | * shows all information about banned users | ||
− | |||
===== Commands provided ===== | ===== Commands provided ===== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ^Command ^ Keyword ^Argument(s) ^Description ^Tell ^Guild ^Priv ^ | |
+ | |!banlist| | |Shows a listing of all currently banned characters|Guest|Guest|Guest| | ||
+ | |!ban|[list]| |Shows a listing of all currently banned characters|Admin |Admin |Admin | | ||
+ | |!ban|add |<name> [<reason>] |Permanently bans <name>, with optional <reason> |Admin |Admin |Admin | | ||
+ | |!ban|add |<name> <time> [<reason>] |Temporarily bans <name>, with optional <reason>. Time is in the format #[mhd], where the optional suffix defines the unit of time. m means time is in minutes, h for hours, d for days. The bot checks once every minute for bans that timed out. |Admin |Admin |Admin | | ||
+ | |!ban|del |<name> |Unbans <name>|Admin|Admin|Admin| |