Add owner format ovverride

This commit is contained in:
EEKIM10 2023-05-11 22:34:06 +01:00
parent ae87fd8a20
commit 823b87f049

View file

@ -1160,7 +1160,7 @@ class OtherCog(commands.Cog):
if formats[fmt]["format"] == _format: if formats[fmt]["format"] == _format:
_format = fmt _format = fmt
break break
else: elif not await self.bot.is_owner(ctx.user):
return await ctx.edit( return await ctx.edit(
embed=discord.Embed( embed=discord.Embed(
title="Error", title="Error",