NAFTeam/NAFF

[BUG] image handling on embed(image=blah)

Closed this issue · 0 comments

Describe the bug
its throwing an error when i use embed(image=url) when its an URL without a .png or .jpg ending, polls said the lib should handle that

To Reproduce
embed = Embed(description="test", image=https://cdn1.epicgames.com/offer/615659ff36244d258ef6c6a827e32c5d/Brothers_Port_1200x1600_1200x1600-ee43c7558877b4470f607a0c140ee3d5) await ctx.send(embed=embed)

Expected behaviour
it should add the image to the embed

Additional information
discussed it on the discord server here : https://discord.com/channels/870046872864165888/944892972439310356