aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-05-31 18:18:18 +0200
committerGravatar GitHub <[email protected]>2020-05-31 18:18:18 +0200
commitd7123487230d70b855c84fb5d99ec45f6bee6859 (patch)
treece612f6217c85ee2d147d79c5469bf82f80b879d
parentRemove a completely unacceptable newline. (diff)
Better channel mentions
Co-authored-by: Mark <[email protected]>
-rw-r--r--bot/cogs/clean.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/clean.py b/bot/cogs/clean.py
index 8b0b8ed05..571a5ced8 100644
--- a/bot/cogs/clean.py
+++ b/bot/cogs/clean.py
@@ -167,7 +167,7 @@ class Clean(Cog):
# Build the embed and send it
if len(channels) > 1:
- target_channels = ", ".join([f"<#{channel.id}>" for channel in channels])
+ target_channels = ", ".join(channel.mention for channel in channels)
else:
target_channels = f"<#{channels[0].id}>"
message = (