diff options
| author | 2019-10-25 15:49:25 -0700 | |
|---|---|---|
| committer | 2019-10-25 17:11:45 -0700 | |
| commit | 0621715392103e395c1f6c9c8c2231148f7b1b29 (patch) | |
| tree | 464195bcfedcec2240cb29c7f0796369b0b155bf | |
| parent | Superstarify: fix incorrect infraction type check in _pardon_action (diff) | |
Superstarify: make the apply embed colour gold
| -rw-r--r-- | bot/cogs/moderation/superstarify.py | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/bot/cogs/moderation/superstarify.py b/bot/cogs/moderation/superstarify.py index 598b5a40e..352fccb10 100644 --- a/bot/cogs/moderation/superstarify.py +++ b/bot/cogs/moderation/superstarify.py @@ -152,15 +152,17 @@ class Superstarify(InfractionScheduler, Cog): ) # Send an embed with the infraction information to the invoking context. - embed = Embed() - embed.title = "Congratulations!" - embed.description = ( - f"Your previous nickname, **{old_nick}**, " - f"was so bad that we have decided to change it. " - f"Your new nickname will be **{forced_nick}**.\n\n" - f"You will be unable to change your nickname until \n**{expiry_str}**.\n\n" - "If you're confused by this, please read our " - f"[official nickname policy]({NICKNAME_POLICY_URL})." + embed = Embed( + title="Congratulations!", + colour=constants.Colours.soft_orange, + description=( + f"Your previous nickname, **{old_nick}**, " + f"was so bad that we have decided to change it. " + f"Your new nickname will be **{forced_nick}**.\n\n" + f"You will be unable to change your nickname until **{expiry_str}**.\n\n" + "If you're confused by this, please read our " + f"[official nickname policy]({NICKNAME_POLICY_URL})." + ) ) await ctx.send(embed=embed) |