From f25bb468b4475ea3affc1fea3fe0badf537413ea Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Wed, 23 Dec 2020 00:35:47 +0100 Subject: [PATCH] Remove cog check from testcog --- cogs/testCog.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cogs/testCog.py b/cogs/testCog.py index 35b3cb7..5722a1a 100644 --- a/cogs/testCog.py +++ b/cogs/testCog.py @@ -7,9 +7,16 @@ class TestCog(commands.Cog): def __init__(self, client): self.client = client - # All commands in this Cog should only be accessible to me def cog_check(self, ctx): - return checks.isMe(ctx) + """ + Check executed for every command in this cog. + + If necessary, create your own check here. A check is just a function + that returns True or False, and takes ctx as an argument. A command will + only be executed when this check returns True, which is why that is the default + implementation for this function. + """ + return True @commands.command() async def test(self, ctx):