Skip to content

Commit 5ce0ddc

Browse files
committed
Make all commands viewable to owner in help command.
1 parent c20d6d4 commit 5ce0ddc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cogs/utility.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ async def verify_checks(ctx, cmd):
3737
predicates = cmd.checks
3838
if not predicates:
3939
return True
40+
41+
if await ctx.bot.is_owner(ctx.author):
42+
return True
4043

4144
try:
4245
return await discord.utils.async_all(predicate(ctx)

0 commit comments

Comments
 (0)