Changed line length to 108 in black

This commit is contained in:
2025-04-27 22:06:35 +02:00
parent 923173ebe8
commit 11f0cc384a
14 changed files with 101 additions and 44 deletions

View File

@@ -54,7 +54,9 @@ class CogUser(Cog):
description="Selected user",
)
@option("confirm", description="Confirmation of the operation", required=False)
async def command_user_delete_channel(self, ctx: ApplicationContext, user: User, confirm: bool = False) -> None:
async def command_user_delete_channel(
self, ctx: ApplicationContext, user: User, confirm: bool = False
) -> None:
await ctx.respond("Not implemented.")
# TODO Introduce i18n
@@ -81,7 +83,9 @@ class CogUser(Cog):
await pycord_user.jail(self.bot.cache)
# TODO Introduce i18n
await ctx.respond(f"User **{user.display_name}** has been jailed and cannot interact with events anymore.")
await ctx.respond(
f"User **{user.display_name}** has been jailed and cannot interact with events anymore."
)
# TODO Introduce i18n
@command_group.command(
@@ -107,7 +111,9 @@ class CogUser(Cog):
await pycord_user.unjail(self.bot.cache)
# TODO Introduce i18n
await ctx.respond(f"User **{user.display_name}** has been unjailed and can interact with events again.")
await ctx.respond(
f"User **{user.display_name}** has been unjailed and can interact with events again."
)
def setup(bot: PycordBot) -> None: