Rotation and hashing V1.0.1
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ class Simp(commands.Cog):
|
|||||||
result = helpers.download_video(url)
|
result = helpers.download_video(url)
|
||||||
|
|
||||||
if result['status'] == 'error':
|
if result['status'] == 'error':
|
||||||
await ctx.respond(f'Błąd pobierania: {result['message']}')
|
await ctx.respond(f'Błąd pobierania: {result["message"]}')
|
||||||
return
|
return
|
||||||
|
|
||||||
await ctx.respond(file=discord.File(result['filename']))
|
await ctx.respond(file=discord.File(result['filename']))
|
||||||
|
|||||||
Reference in New Issue
Block a user