aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/utils.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-07-19 10:07:47 +0100
committerGravatar Joe Banks <[email protected]>2021-07-19 10:07:47 +0100
commit5bf0460f3d72262db21907ceedfe18e64560d7e0 (patch)
treebaa7cf7db49d5ffcc14ca986ede2f8eb32ec4d07 /arthur/utils.py
parentRemove incorrect fstring (diff)
Correct error message generator
Diffstat (limited to 'arthur/utils.py')
-rw-r--r--arthur/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/utils.py b/arthur/utils.py
index 090abc5..07e0f19 100644
--- a/arthur/utils.py
+++ b/arthur/utils.py
@@ -10,7 +10,7 @@ def generate_error_message(
emote: str = ":no_entry_sign:",
) -> str:
"""Generate an error message to return to Discord."""
- return f"{emote} **{description}** {description}"
+ return f"{emote} **{title}** {description}"
def datetime_to_discord(time: datetime, format: str = "f") -> str: