From cfe3c65abcf990ad3dbf8863250187f9af1cc8da Mon Sep 17 00:00:00 2001
From: Dragory <2606411+Dragory@users.noreply.github.com>
Date: Wed, 22 Jul 2020 22:59:06 +0300
Subject: [PATCH] Add permission to LevelCmd

---
 backend/src/plugins/Utility/commands/LevelCmd.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backend/src/plugins/Utility/commands/LevelCmd.ts b/backend/src/plugins/Utility/commands/LevelCmd.ts
index 5ddab3a1..4ad4ce5c 100644
--- a/backend/src/plugins/Utility/commands/LevelCmd.ts
+++ b/backend/src/plugins/Utility/commands/LevelCmd.ts
@@ -8,6 +8,7 @@ export const LevelCmd = utilityCmd({
   trigger: "level",
   description: "Show the permission level of a user",
   usage: "!level 106391128718245888",
+  permission: "can_level",
 
   signature: {
     member: ct.resolvedMember({ required: false }),