misc(seautils): added an error symbol to the failed dns query result message

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

View file

@ -120,7 +120,7 @@ class SeaUtils(commands.Cog):
if response_data.get('status') != 'NOERROR': if response_data.get('status') != 'NOERROR':
embed.colour = Color.red() 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']) question_section = "\n".join(response_data['QUESTION_SECTION'])
embed.add_field(name="Question Section", value=f"```{question_section}```", inline=False) embed.add_field(name="Question Section", value=f"```{question_section}```", inline=False)