Fix embedded video
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s

This commit is contained in:
Nexus 2024-05-31 03:16:42 +01:00
parent 8a4136321c
commit e2ee0ff372
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -588,10 +588,11 @@ class YTDLCog(commands.Cog):
file.name, file.name,
fb fb
) )
embed.add_field(name="URL", value=f"https://0x0.st/{part}", inline=False)
await ctx.edit( await ctx.edit(
content="https://embeds.video/0x0/" + part,
embed=embed embed=embed
) )
await ctx.respond("https://embeds.video/0x0/" + part)
else: else:
upload_file = await asyncio.to_thread(discord.File, file, filename=file.name) upload_file = await asyncio.to_thread(discord.File, file, filename=file.name)
msg = await ctx.edit( msg = await ctx.edit(