diff options
| author | 2021-03-07 18:56:18 +0200 | |
|---|---|---|
| committer | 2021-03-07 18:56:18 +0200 | |
| commit | 75df6d9ac952c76260fd44f5191c02423bb847fa (patch) | |
| tree | 1abb16516881042889dddb2055558781976ee669 | |
| parent | Use actor mention instead of username in nomination string (diff) | |
Improve nomination string representation
| -rw-r--r-- | bot/exts/moderation/watchchannels/talentpool.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/watchchannels/talentpool.py b/bot/exts/moderation/watchchannels/talentpool.py index 55c41a754..c2f6ab2c5 100644 --- a/bot/exts/moderation/watchchannels/talentpool.py +++ b/bot/exts/moderation/watchchannels/talentpool.py @@ -272,7 +272,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"):              reason = site_entry["reason"] or "*None*"              created = time.format_infraction(site_entry["inserted_at"])              entries.append( -                f"Actor: {actor.mention if actor else actor_id}\nReason: {reason}\nCreated: {created}" +                f"Actor: {actor.mention if actor else actor_id}\nCreated: {created}\nReason: {reason}"              )          entries_string = "\n\n".join(entries) @@ -299,12 +299,12 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"):                  ===============                  Status: Inactive                  Date: {start_date} +                Nomination ID: `{nomination_object["id"]}`                  {entries_string}                  End date: {end_date}                  Unwatch reason: {nomination_object["end_reason"]} -                Nomination ID: `{nomination_object["id"]}`                  ===============                  """              )  |