From 3b6f86f9c88a5d1ef560638f37dea6ae41d5298b Mon Sep 17 00:00:00 2001 From: nex Date: Thu, 1 Jun 2023 13:12:47 +0100 Subject: [PATCH] Remove the stupid format restriction Why did I even add this --- cogs/other.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/cogs/other.py b/cogs/other.py index 89dccd7..5689f9b 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -916,16 +916,16 @@ class OtherCog(commands.Cog): if formats[fmt]["format"] == _format: _format = fmt break - else: - if not await self.bot.is_owner(ctx.user): - return await ctx.edit( - embed=discord.Embed( - title="Error", - description="Invalid format %r. pass `list-formats:True` to see a list of formats." % _fmt, - colour=discord.Colour.red() - ), - delete_after=30 - ) + # else: + # if not await self.bot.is_owner(ctx.user): + # return await ctx.edit( + # embed=discord.Embed( + # title="Error", + # description="Invalid format %r. pass `list-formats:True` to see a list of formats." % _fmt, + # colour=discord.Colour.red() + # ), + # delete_after=30 + # ) MAX_SIZE_MB = ctx.guild.filesize_limit / 1024 / 1024 if MAX_SIZE_MB == 8.0: