fix(aurora): use the verb for message embed titles
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 24s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s

This commit is contained in:
Seaswimmer 2024-07-06 11:55:05 -04:00
parent 88cc7b4a3f
commit 127dd564f5
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -71,7 +71,7 @@ async def message_factory(
# embed_desc = "been" # embed_desc = "been"
embed = Embed( embed = Embed(
title=str.title(moderation_type.moderation_type), title=str.title(moderation_type.verb),
description=f"You have {moderation_type.embed_desc} {moderation_type.verb}{embed_duration} in {guild_name}.", description=f"You have {moderation_type.embed_desc} {moderation_type.verb}{embed_duration} in {guild_name}.",
color=color, color=color,
timestamp=datetime.now(), timestamp=datetime.now(),