From 859ebaf510441b68462933bad8d0208221b342b5 Mon Sep 17 00:00:00 2001 From: bacon Date: Sun, 10 Mar 2024 23:54:37 +0300 Subject: [PATCH] updated locale --- bot.py | 1 - cogs/general.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 06c2c39..283c8a3 100755 --- a/bot.py +++ b/bot.py @@ -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()] diff --git a/cogs/general.py b/cogs/general.py index 12506ab..5bf2e6a 100644 --- a/cogs/general.py +++ b/cogs/general.py @@ -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)