WIP: Refactor Aurora (3.0.0) #29
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ async def message_factory(
|
||||||
Returns:
|
Returns:
|
||||||
embed: The message embed.
|
embed: The message embed.
|
||||||
"""
|
"""
|
||||||
if response is not None and moderation_type.type not in [
|
if response is not None and moderation_type.moderation_type not in [
|
||||||
"kick",
|
"kick",
|
||||||
"ban",
|
"ban",
|
||||||
"tempban",
|
"tempban",
|
||||||
|
@ -71,7 +71,7 @@ async def message_factory(
|
||||||
# embed_desc = "been"
|
# embed_desc = "been"
|
||||||
|
|
||||||
embed = Embed(
|
embed = Embed(
|
||||||
title=str.title(moderation_type.type),
|
title=str.title(moderation_type.moderation_type),
|
||||||
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(),
|
||||||
|
|
Loading…
Reference in a new issue