Mark clear as staffOnly

Signed-off-by: Etzelia <etzelia@hotmail.com>
pull/7/head
Etzelia 2021-05-13 22:04:34 -05:00
parent 43998246d9
commit 1daa78027b
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ const clearMax = 20
func init() {
commands = append(commands, &command{
name: "clear",
staffOnly: true,
validate: func(cmd commandInit) bool {
return isStaff(cmd.message.Member.Roles, cmd.config.StaffRoles)
},