parent
43998246d9
commit
1daa78027b
|
@ -10,6 +10,7 @@ const clearMax = 20
|
||||||
func init() {
|
func init() {
|
||||||
commands = append(commands, &command{
|
commands = append(commands, &command{
|
||||||
name: "clear",
|
name: "clear",
|
||||||
|
staffOnly: true,
|
||||||
validate: func(cmd commandInit) bool {
|
validate: func(cmd commandInit) bool {
|
||||||
return isStaff(cmd.message.Member.Roles, cmd.config.StaffRoles)
|
return isStaff(cmd.message.Member.Roles, cmd.config.StaffRoles)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue