mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Remove the stupid format restriction
Why did I even add this
This commit is contained in:
parent
fca1b4a530
commit
3b6f86f9c8
1 changed files with 10 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue