mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
remove owner check
This commit is contained in:
parent
7f702a0215
commit
ca5dda8431
1 changed files with 0 additions and 7 deletions
|
@ -1117,13 +1117,6 @@ class OtherCog(commands.Cog):
|
||||||
):
|
):
|
||||||
"""Downloads a video using youtube-dl"""
|
"""Downloads a video using youtube-dl"""
|
||||||
await ctx.defer()
|
await ctx.defer()
|
||||||
if compress_if_possible and not await self.bot.is_owner(ctx.user):
|
|
||||||
return await ctx.edit(
|
|
||||||
embed=discord.Embed(
|
|
||||||
description="You can't compress files.",
|
|
||||||
color=discord.Color.red()
|
|
||||||
)
|
|
||||||
)
|
|
||||||
formats = await self.list_formats(url)
|
formats = await self.list_formats(url)
|
||||||
if list_formats:
|
if list_formats:
|
||||||
embeds = []
|
embeds = []
|
||||||
|
|
Loading…
Reference in a new issue