aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2020-01-12 11:52:04 +0100
committerGravatar GitHub <[email protected]>2020-01-12 11:52:04 +0100
commit71395492386d1cd469efa968e4779c1c6be73997 (patch)
treedea1fd12e8cb97cf0dff387e8f770ae23cafd058
parentMerge pull request #721 from python-discord/pep-empty-field-fix (diff)
parentWatchchannels: show username in response for already watched users (diff)
Merge pull request #714 from python-discord/feat/watch/b713/show-name-if-watched
Watchchannels: show username in response for already watched users
Diffstat (limited to '')
-rw-r--r--bot/cogs/watchchannels/bigbrother.py2
-rw-r--r--bot/cogs/watchchannels/talentpool.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/watchchannels/bigbrother.py b/bot/cogs/watchchannels/bigbrother.py
index 306ed4c64..1e53b98ea 100644
--- a/bot/cogs/watchchannels/bigbrother.py
+++ b/bot/cogs/watchchannels/bigbrother.py
@@ -62,7 +62,7 @@ class BigBrother(WatchChannel, Cog, name="Big Brother"):
return
if user.id in self.watched_users:
- await ctx.send(":x: The specified user is already being watched.")
+ await ctx.send(f":x: {user} is already being watched.")
return
response = await post_infraction(ctx, user, 'watch', reason, hidden=True)
diff --git a/bot/cogs/watchchannels/talentpool.py b/bot/cogs/watchchannels/talentpool.py
index cc8feeeee..f990ccff8 100644
--- a/bot/cogs/watchchannels/talentpool.py
+++ b/bot/cogs/watchchannels/talentpool.py
@@ -69,7 +69,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"):
return
if user.id in self.watched_users:
- await ctx.send(":x: The specified user is already being watched in the talent pool")
+ await ctx.send(f":x: {user} is already being watched in the talent pool")
return
# Manual request with `raise_for_status` as False because we want the actual response