Skip to content

Commit

Permalink
Reduce Black aggressiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
Flame442 authored Dec 24, 2024
1 parent faee9d0 commit 07d5161
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions redbot/core/core_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -2617,19 +2617,19 @@ async def bankset_reset(self, ctx, confirmation: bool = False):
"This will delete all bank accounts for {scope}.\nIf you're sure, type "
"`{prefix}bankset reset yes`"
).format(
scope=(
self.bot.user.display_name if await bank.is_global() else _("this server")
),
scope=self.bot.user.display_name
if await bank.is_global()
else _("this server"),
prefix=ctx.clean_prefix,
)
)
else:
await bank.wipe_bank(guild=ctx.guild)
await ctx.send(
_("All bank accounts for {scope} have been deleted.").format(
scope=(
self.bot.user.display_name if await bank.is_global() else _("this server")
)
scope=self.bot.user.display_name
if await bank.is_global()
else _("this server")
)
)

Expand Down

0 comments on commit 07d5161

Please sign in to comment.