aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/utils.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-07-18 13:12:57 +0100
committerGravatar Joe Banks <[email protected]>2021-07-18 13:12:57 +0100
commit14c9665e095a6285b61705df2446f02344b0ffba (patch)
treecb4d14575dfdf07f13d812f9da7783cf81b1e35d /arthur/utils.py
parentfeat: add commands for listing and cordoning nodes (diff)
feat: add error handler
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 ea545b5..c81a47a 100644
--- a/arthur/utils.py
+++ b/arthur/utils.py
@@ -7,7 +7,7 @@ from discord.colour import Colour
def generate_error_embed(
- title: str = "'Tis but a scratch!", description: str = "An error occurred"
+ *, title: str = "'Tis but a scratch!", description: str = "An error occurred"
) -> Embed:
"""Generate an error embed to return to Discord."""
return Embed(title=title, description=description, colour=Colour.red())