Add /mute command
This commit is contained in:
parent
259d7470e1
commit
ccae0ea76e
4 changed files with 63 additions and 1 deletions
|
|
@ -98,6 +98,9 @@ function formatUserlistItem(div, data) {
|
|||
name.css("font-style", "italic");
|
||||
$("<i/>").addClass("icon-time").appendTo(flair);
|
||||
}
|
||||
if(data.meta && data.meta.icon) {
|
||||
$("<i/>").addClass(data.meta.icon).prependTo(flair);
|
||||
}
|
||||
}
|
||||
|
||||
function getNameColor(rank) {
|
||||
|
|
@ -1294,6 +1297,7 @@ function genPermissionsEditor() {
|
|||
makeOption("Vote", "pollvote", standard, CHANNEL.perms.pollvote+"");
|
||||
|
||||
addDivider("Moderation");
|
||||
makeOption("Mute users", "mute", modleader, CHANNEL.perms.mute+"");
|
||||
makeOption("Kick users", "kick", modleader, CHANNEL.perms.kick+"");
|
||||
makeOption("Ban users", "ban", modplus, CHANNEL.perms.ban+"");
|
||||
makeOption("Edit MOTD", "motdedit", modplus, CHANNEL.perms.motdedit+"");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue