aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2021-01-16 16:28:50 -0800
committerGravatar GitHub <[email protected]>2021-01-16 16:28:50 -0800
commit844a1b66fb9b82088c3f1dd03d8b9f61d454c943 (patch)
treefec5bd414ce363dee2e0eeb0e197cbef25f47c52
parentUpdate discord.py to the 1.6 release (diff)
parentRemove unwatch reason from the !nominate output (diff)
Merge pull request #1354 from python-discord/remove-unnomiation-reason
Remove unwatch reason from the !nominate output
-rw-r--r--bot/exts/moderation/watchchannels/talentpool.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/moderation/watchchannels/talentpool.py b/bot/exts/moderation/watchchannels/talentpool.py
index df2ce586e..dd3349c3a 100644
--- a/bot/exts/moderation/watchchannels/talentpool.py
+++ b/bot/exts/moderation/watchchannels/talentpool.py
@@ -122,8 +122,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"):
if history:
total = f"({len(history)} previous nominations in total)"
start_reason = f"Watched: {textwrap.shorten(history[0]['reason'], width=500, placeholder='...')}"
- end_reason = f"Unwatched: {textwrap.shorten(history[0]['end_reason'], width=500, placeholder='...')}"
- msg += f"\n\nUser's previous watch reasons {total}:```{start_reason}\n\n{end_reason}```"
+ msg += f"\n\nUser's previous watch reasons {total}:```{start_reason}```"
await ctx.send(msg)