misc: added more formatting to an error message

This commit is contained in:
Seaswimmer 2023-08-07 17:34:41 -04:00
parent beee10f303
commit 7148bd18b1
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -43,7 +43,7 @@ class Galaxy(commands.Cog):
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
await ctx.send(f"Error executing `nslookup`: `{e}`") await ctx.send(f"Error executing `nslookup`: `{e}`")
except FileNotFoundError: except FileNotFoundError:
await ctx.send("`nslookup` command not found. Make sure you have nslookup installed and it's in your system PATH.") await ctx.send("`nslookup` command not found. Make sure you have `nslookup` installed and it's in your system PATH.")
@commands.command() @commands.command()