Remove the stupid format restriction

Why did I even add this
This commit is contained in:
Nexus 2023-06-01 13:12:47 +01:00
parent fca1b4a530
commit 3b6f86f9c8
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -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: