mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Add owner format ovverride
This commit is contained in:
parent
823b87f049
commit
58936ab4ae
1 changed files with 8 additions and 7 deletions
|
@ -1160,7 +1160,8 @@ class OtherCog(commands.Cog):
|
|||
if formats[fmt]["format"] == _format:
|
||||
_format = fmt
|
||||
break
|
||||
elif not await self.bot.is_owner(ctx.user):
|
||||
else:
|
||||
if not await self.bot.is_owner(ctx.user):
|
||||
return await ctx.edit(
|
||||
embed=discord.Embed(
|
||||
title="Error",
|
||||
|
|
Loading…
Reference in a new issue