run pre-commit

This commit is contained in:
leander committed 2025-05-27 23:47:16 +02:00
1 parent 68fe044ed7
commit 937de46d36
2 files changed
+2 -3

No files matched your search

+1
View File
@@ -382,6 +382,7 @@ class Misc(commands.Cog):
await interaction.response.send_message(random_excuse)
async def setup(bot: commands.Bot):
"""
Add the cog to the bot on extension load
+1 -3
View File
@@ -305,9 +305,7 @@ class _KickSelectMenu(discord.ui.Select):
def __init__(self, parent_view: LobbyView):
self.parent_view = parent_view
options = [
discord.SelectOption(
label=p.display_name, value=str(p.id), emoji="🔨", description=f"Kick {p.display_name}"
)
discord.SelectOption(label=p.display_name, value=str(p.id), emoji="🔨", description=f"Kick {p.display_name}")
for p in self.parent_view.lobby.players
]
super().__init__(placeholder="Kick en spiller", max_values=1, min_values=1, options=options)