diff options
Diffstat (limited to 'arthur/utils.py')
-rw-r--r-- | arthur/utils.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arthur/utils.py b/arthur/utils.py index 4ea2315..12e2646 100644 --- a/arthur/utils.py +++ b/arthur/utils.py @@ -4,10 +4,8 @@ from discord import Embed from discord.colour import Colour -def generate_error_embed(title: str = "'Tis but a scratch!", description: str = "An error occurred") -> Embed: +def generate_error_embed( + 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() - ) + return Embed(title=title, description=description, colour=Colour.red()) |