diff options
| author | 2021-07-17 21:29:43 +0100 | |
|---|---|---|
| committer | 2021-07-17 21:29:43 +0100 | |
| commit | 69f42c451ec5a5eb204c8617251ecc372b262411 (patch) | |
| tree | 0ba6bd457c4942ffb9a0c7a77ddfad0b013cdb53 | |
| parent | chore: add monty python reference to error message (diff) | |
fix: linting compliance
| -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())  |