diff --git a/cogs/convert.py b/cogs/convert.py index ef8bf3c..7f397cc 100644 --- a/cogs/convert.py +++ b/cogs/convert.py @@ -101,8 +101,6 @@ async def download_media(self, ctx, filelink): return 4 file = await r.read() fileName = f"downloads/{ctx.message.id}_{yarl.URL(filelink).path.replace('/', '_')}" - #if filelink.find('/'): - # fileName = f"downloads/{filelink.rsplit('/', 1)[1]}" try: open(fileName, 'wb').write(file) except Exception: