From 14c9665e095a6285b61705df2446f02344b0ffba Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 18 Jul 2021 13:12:57 +0100 Subject: feat: add error handler --- arthur/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arthur/utils.py') 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()) -- cgit v1.2.3