Fixed dev cog_check

This commit is contained in:
Adriene Hutchins 2020-03-02 18:49:42 -05:00
parent 1ac1d1971d
commit 7ae19ef8a6
2 changed files with 1 additions and 1 deletions

View file

@ -517,7 +517,7 @@ class Developer(commands.Cog):
3 / 0
async def cog_check(self, ctx):
return (ctx.author.id == self.bot.owner_id)
return commands.is_owner()(ctx.command)
def setup(bot):