aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-30 10:10:34 +0300
committerGravatar ks129 <[email protected]>2020-05-30 10:10:34 +0300
commite236113612c560326176da91f5a743c514ac988b (patch)
treee2709640a27a126b9ed9ee14eaaa3a2ebca7e04a
parentMerge remote-tracking branch 'origin/ban-kick-reason-length' into ban-kick-re... (diff)
Scheduler: Remove line splitting from `ctx.send` after 7f827ab
-rw-r--r--bot/cogs/moderation/scheduler.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/bot/cogs/moderation/scheduler.py b/bot/cogs/moderation/scheduler.py
index 8b28afa69..3679561a3 100644
--- a/bot/cogs/moderation/scheduler.py
+++ b/bot/cogs/moderation/scheduler.py
@@ -184,10 +184,7 @@ class InfractionScheduler(Scheduler):
# Send a confirmation message to the invoking context.
log.trace(f"Sending infraction #{id_} confirmation message.")
- await ctx.send(
- f"{dm_result}{confirm_msg} "
- f"{infr_message}."
- )
+ await ctx.send(f"{dm_result}{confirm_msg} {infr_message}.")
# Send a log message to the mod log.
log.trace(f"Sending apply mod log for infraction #{id_}.")