From a1c7af60a8e8baaf7059018df0a26efa6e582256 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 03:08:17 +0000 Subject: [PATCH] auto: format python code --- modules/moderation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/moderation.py b/modules/moderation.py index 235ea3d..695622d 100644 --- a/modules/moderation.py +++ b/modules/moderation.py @@ -401,7 +401,9 @@ async def _banning( # Don't waste an API call with a DM if we don't have the user as a guild member try: await member.send( - tools.format_pundm('ban', reason, interaction.user, auto=interaction.user.id == self.bot.user.id) + tools.format_pundm( + 'ban', reason, interaction.user, auto=interaction.user.id == self.bot.user.id + ) ) except (discord.Forbidden, AttributeError):