updated locale

This commit is contained in:
bacon
2024-03-10 23:54:37 +03:00
parent 6ae7fee5ba
commit 859ebaf510
2 changed files with 1 additions and 2 deletions

1
bot.py
View File

@@ -149,7 +149,6 @@ async def _cog_opt(inter: disnake.ApplicationCommandInteraction, current: str):
async def _cog_opt(inter: disnake.ApplicationCommandInteraction, current: str):
current = current.lower()
_list = await cog_list(fold='./cogs/disabled/')
logger.info(_list)
return [choice for choice in _list if current in choice.lower()]