diff options
| author | 2020-04-06 08:50:46 +0300 | |
|---|---|---|
| committer | 2020-04-06 08:50:46 +0300 | |
| commit | c4f7359d2e301e6ab19666a6867c9cb69892da0b (patch) | |
| tree | 66881c435d2ca3930c7db7b5082202e63bd0153b | |
| parent | (Ban and Kick): Changed length in `textwrap.shorten` from 309 to 312 because ... (diff) | |
(Ban and Kick): Added space to `textwrap.shorten` `placeholder`.
| -rw-r--r-- | bot/cogs/moderation/infractions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/moderation/infractions.py b/bot/cogs/moderation/infractions.py index 7a044fc1c..2c809535b 100644 --- a/bot/cogs/moderation/infractions.py +++ b/bot/cogs/moderation/infractions.py @@ -253,7 +253,7 @@ class Infractions(InfractionScheduler, commands.Cog): action = ctx.guild.ban( user, - reason=textwrap.shorten(reason, width=512, placeholder="..."), + reason=textwrap.shorten(reason, width=512, placeholder=" ..."), delete_message_days=0 ) await self.apply_infraction(ctx, infraction, user, action) |