From d7d06bab51feb40615d5783b977ea16b9ff01bb0 Mon Sep 17 00:00:00 2001 From: Dhimas Bagus Prayoga Date: Fri, 22 Jan 2021 09:17:28 +0700 Subject: [PATCH] Add condition isOwner --- krypton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/krypton.js b/krypton.js index b554b40..e273229 100644 --- a/krypton.js +++ b/krypton.js @@ -202,7 +202,7 @@ async function krypton () { } // Time durations - if (!client.isPmium || !client.isGmium) { + if (!client.isPmium || !client.isGmium || !client.isOwner) { const now = Date.now() const timestamps = cooldowns.get(command.name) const cooldownAmount = (command.cooldown || 1) * 1000