Skip to content

Commit 994e5c7

Browse files
committed
lint: Fix lint errors
1 parent 2093474 commit 994e5c7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/bot/cogs/admin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ async def module_enable(self, interaction: discord.Interaction, module: str):
121121
message = await self.cogs_manager.enable_cog(module)
122122
await interaction.response.send_message(message, ephemeral=True)
123123

124-
125124
@module_group.command(name="disable", description="Disable a specific bot module")
126125
@app_commands.describe(module="The name of the module to disable")
127126
@app_commands.autocomplete(module=_module_name_autocomplete)

src/bot/core/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async def process_list_modules(interaction: discord.Interaction, bot: commands.B
2525
"""
2626
# Get list of loaded extensions
2727
loaded_cogs = list(bot.extensions.keys())
28-
parsed_loaded_cogs = list(map(lambda name: name.split('.')[-1], loaded_cogs))
28+
parsed_loaded_cogs = list(map(lambda name: name.split(".")[-1], loaded_cogs))
2929

3030
# Get list of all available cogs from the manager
3131
available_cogs = cogs_manager.cogs

0 commit comments

Comments
 (0)