Fix embedded video
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
This commit is contained in:
parent
8a4136321c
commit
e2ee0ff372
1 changed files with 2 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue