diff --git a/uqcsbot/minecraft.py b/uqcsbot/minecraft.py index 3c26165..7feb2bd 100644 --- a/uqcsbot/minecraft.py +++ b/uqcsbot/minecraft.py @@ -123,7 +123,9 @@ async def mcunwhitelist(self, interaction: discord.Interaction, username: str): # If the responses indicate successful removal, remove from the database item if "Removed" in response_remove[0]: - db_session.query(MCWhitelist).filter(MCWhitelist.mc_username == username).delete() + db_session.query(MCWhitelist).filter( + MCWhitelist.mc_username == username + ).delete() db_session.commit() await self.bot.admin_alert(