aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-20 10:50:46 +0300
committerGravatar GitHub <[email protected]>2020-05-20 10:50:46 +0300
commit787c106fb4a55eacc7af04afb9bcd8f206099e81 (patch)
treeb012a52602a6e3584ec5d7baec486eaef34ac83e
parentMerge branch 'master' into ban-kick-reason-length (diff)
Infractions: Remove space from placeholder
-rw-r--r--bot/cogs/moderation/infractions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/moderation/infractions.py b/bot/cogs/moderation/infractions.py
index 01266d346..5bfaad796 100644
--- a/bot/cogs/moderation/infractions.py
+++ b/bot/cogs/moderation/infractions.py
@@ -259,7 +259,7 @@ class Infractions(InfractionScheduler, commands.Cog):
self.mod_log.ignore(Event.member_remove, user.id)
- truncated_reason = textwrap.shorten(reason, width=512, placeholder=" ...")
+ truncated_reason = textwrap.shorten(reason, width=512, placeholder="...")
action = ctx.guild.ban(user, reason=truncated_reason, delete_message_days=0)
await self.apply_infraction(ctx, infraction, user, action)