diff --git a/garfpy/iputils.py b/garfpy/iputils.py index 1d91554..2e3a84f 100644 --- a/garfpy/iputils.py +++ b/garfpy/iputils.py @@ -38,7 +38,7 @@ class IPUtils: result = subprocess.run( ["ping", "-c", "4", target], capture_output=True, text=True ) - embed = discord.Embed(title="Ping result: {target}", color=0x4D4D4D, description=f"```{result.stdout}```") + embed = discord.Embed(title=f"Ping result: {target}", color=0x4D4D4D, description=f"```{result.stdout}```") await message.channel.send(embed=embed) except Exception as e: await message.channel.send(f"`GarfBot Error: {str(e)}`") @@ -52,7 +52,7 @@ class IPUtils: result = subprocess.run( ["nslookup", target], capture_output=True, text=True ) - embed = discord.Embed(title="NSLookup result: {target}", color=0x4D4D4D, description=f"```{result.stdout}```") + embed = discord.Embed(title=f"NSLookup result: {target}", color=0x4D4D4D, description=f"```{result.stdout}```") await message.channel.send(embed=embed) except Exception as e: await message.channel.send(f"`GarfBot Error: {str(e)}`") @@ -66,7 +66,7 @@ class IPUtils: result = subprocess.run( ["nmap", "-Pn", "-O", "-v", target], capture_output=True, text=True ) - embed = discord.Embed(title="Nmap scan result: {target}", color=0x4D4D4D, description=f"```{result.stdout}```") + embed = discord.Embed(title=f"Nmap scan result: {target}", color=0x4D4D4D, description=f"```{result.stdout}```") embed.set_footer(text="https://nmap.org/") await message.channel.send(embed=embed) except Exception as e: