mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +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:
|
if formats[fmt]["format"] == _format:
|
||||||
_format = fmt
|
_format = fmt
|
||||||
break
|
break
|
||||||
else:
|
# else:
|
||||||
if not await self.bot.is_owner(ctx.user):
|
# if 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",
|
||||||
description="Invalid format %r. pass `list-formats:True` to see a list of formats." % _fmt,
|
# description="Invalid format %r. pass `list-formats:True` to see a list of formats." % _fmt,
|
||||||
colour=discord.Colour.red()
|
# colour=discord.Colour.red()
|
||||||
),
|
# ),
|
||||||
delete_after=30
|
# delete_after=30
|
||||||
)
|
# )
|
||||||
|
|
||||||
MAX_SIZE_MB = ctx.guild.filesize_limit / 1024 / 1024
|
MAX_SIZE_MB = ctx.guild.filesize_limit / 1024 / 1024
|
||||||
if MAX_SIZE_MB == 8.0:
|
if MAX_SIZE_MB == 8.0:
|
||||||
|
|
Loading…
Reference in a new issue