From 1e2f44d494ff3d0530ab76de6213d8a35a1c8816 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 8 Mar 2017 00:23:16 -0600 Subject: [PATCH] Corrected a ctrl+f incorrect change --- cogs/mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/mod.py b/cogs/mod.py index 1bb880c..f219f6b 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -238,7 +238,7 @@ class Mod: # Loop through and check if there is a check called is_owner # If we loop through and don't find one, this means that the only other choice is to be # Able to manage the server (for the utils on perm commands) - for func in cmd.utils: + for func in cmd.checks: if "is_owner" in func.__qualname__: await ctx.send("You need to own the bot to run this command") return