mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Fixed dev cog_check
This commit is contained in:
parent
1ac1d1971d
commit
7ae19ef8a6
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -517,7 +517,7 @@ class Developer(commands.Cog):
|
||||||
3 / 0
|
3 / 0
|
||||||
|
|
||||||
async def cog_check(self, ctx):
|
async def cog_check(self, ctx):
|
||||||
return (ctx.author.id == self.bot.owner_id)
|
return commands.is_owner()(ctx.command)
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue