From 1daa78027b761a693e6d03593bb82bcd48e94266 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Thu, 13 May 2021 22:04:34 -0500 Subject: [PATCH] Mark clear as staffOnly Signed-off-by: Etzelia --- discord/clear.go | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/clear.go b/discord/clear.go index f75c676..56ca952 100644 --- a/discord/clear.go +++ b/discord/clear.go @@ -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) },