misc(seautils): added an error symbol to the failed dns query result message
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 37s

This commit is contained in:
Seaswimmer 2024-05-28 17:57:10 -04:00
parent 8b68cb7530
commit 7a2ee0a655
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -120,7 +120,7 @@ class SeaUtils(commands.Cog):
if response_data.get('status') != 'NOERROR':
embed.colour = Color.red()
embed.description = "Dig query did not return `NOERROR` status."
embed.description = cf.error("Dig query did not return `NOERROR` status.")
question_section = "\n".join(response_data['QUESTION_SECTION'])
embed.add_field(name="Question Section", value=f"```{question_section}```", inline=False)