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()]

View File

@@ -50,7 +50,7 @@ class General(commands.Cog):
f"Nickname: {user.nick}\n"
f"Joined at: {user.joined_at.strftime('%A, %B %d %Y @ %H:%M:%S')}", inline=False)
emb.add_field(name="Roles list", value=f"{roles}")
emb.set_footer(text=f"{Localized('Information requested by', key='REQUEST_INFO')}: {inter.author.display_name}")
emb.set_footer(text=f"Information requested by: {inter.author.display_name}")
await inter.response.send_message(embed=emb, ephemeral=True)