From c2333f40efe6bc5675fa217a4a278523b5a2214b Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Sat, 25 May 2024 17:38:52 -0400 Subject: [PATCH] fix(speedtest): fixed an incorrectly named kwarg --- speedtest/speedtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speedtest/speedtest.py b/speedtest/speedtest.py index 08615bd..aa8acec 100644 --- a/speedtest/speedtest.py +++ b/speedtest/speedtest.py @@ -60,7 +60,7 @@ class Speedtest(commands.Cog): if isinstance(r, str): await msg.edit(embed=discord.Embed(description=f"An error occurred! {r}", color=discord.Colour.red())) return - embed = discord.Embed(title="Speedtest Results", link=r["result"]["url"], color=await ctx.embed_color()) + embed = discord.Embed(title="Speedtest Results", url=r["result"]["url"], color=await ctx.embed_color()) embed.add_field(name="Bandwidth", value=f"{r['download']['bandwidth'] / 1_000_000:.2f} Mbps down, {r['upload']['bandwidth'] / 1_000_000:.2f} Mbps up") embed.add_field(name="Ping", value=f"Base: {round(r['ping']['latency'])} ms \nDownload: {round(r['download']['latency']['igm'])} ms \nUpload: {round(r['upload']['latency']['igm'])} ms") embed.set_image(url=r["result"]["image"] + ".png")