diff --git a/ballsdex/packages/admin/blacklist.py b/ballsdex/packages/admin/blacklist.py index f50ef70e..a1e55b45 100644 --- a/ballsdex/packages/admin/blacklist.py +++ b/ballsdex/packages/admin/blacklist.py @@ -53,11 +53,11 @@ async def blacklist_add( else: interaction.client.blacklist.add(user.id) await interaction.response.send_message("User is now blacklisted.", ephemeral=True) - await log_action( - f"{interaction.user} blacklisted {user} ({user.id})" - f" for the following reason: {reason}.", - interaction.client, - ) + await log_action( + f"{interaction.user} blacklisted {user} ({user.id})" + f" for the following reason: {reason}.", + interaction.client, + ) @app_commands.command(name="remove") @app_commands.checks.has_any_role(*settings.root_role_ids, *settings.admin_role_ids) @@ -94,10 +94,11 @@ async def blacklist_remove( await interaction.response.send_message( "User is now removed from blacklist.", ephemeral=True ) - await log_action( - f"{interaction.user} removed blacklist for user {user} ({user.id}).\nReason: {reason}", - interaction.client, - ) + await log_action( + f"{interaction.user} removed blacklist for user {user} ({user.id})." + f"\nReason: {reason}", + interaction.client, + ) @app_commands.command(name="info") async def blacklist_info( @@ -225,11 +226,11 @@ async def blacklist_add_guild( else: interaction.client.blacklist_guild.add(guild.id) await interaction.response.send_message("Guild is now blacklisted.", ephemeral=True) - await log_action( - f"{interaction.user} blacklisted the guild {guild}({guild.id}) " - f"for the following reason: {reason}.", - interaction.client, - ) + await log_action( + f"{interaction.user} blacklisted the guild {guild}({guild.id}) " + f"for the following reason: {reason}.", + interaction.client, + ) @app_commands.command(name="remove") @app_commands.checks.has_any_role(*settings.root_role_ids, *settings.admin_role_ids)