updated locale
This commit is contained in:
1
bot.py
1
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()]
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user