{{define "cp_rolecommands"}} {{template "cp_head" .}}

Role Commands

Also referred to as self assignable roles, role commands allows you to have members assign their own roles. Read the docs for more details and examples.

{{template "cp_alerts" .}}
Add new role command
-role



Add new role command group





{{mTemplate "rolecommands_group" "ActiveGuild" .ActiveGuild "Commands" .LoneCommands "HighestRole" .HighestRole "Groups" .Groups}} {{$ag := .ActiveGuild}} {{$hr := .HighestRole}} {{$groups := .Groups}} {{range $group, $commands := .SortedCommands}} {{mTemplate "rolecommands_group" "ActiveGuild" $ag "Commands" $commands "Group" $group "HighestRole" $hr "Groups" $groups}} {{end}}
{{template "cp_footer" .}} {{end}} {{define "rolecommands_group"}} {{$ag := .ActiveGuild}} {{$hr := .HighestRole}}
Group: {{if .Group}}{{.Group.Name}}{{else}}None{{end}}
{{if .Group}}





{{end}} {{$groups := .Groups}} {{$group := .Group}} {{range .Commands}}
-role



{{end}}
{{end}} {{define "rolecommands_groupopts"}} {{$selected := or .Selected -1}} {{range .Groups}} {{end}} {{end}}