forked from cswimr/SeaCogs
misc(seautils): added an error symbol to the failed dns query result message
This commit is contained in:
parent
8b68cb7530
commit
7a2ee0a655
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue