add multi lang support for shop command
@@ -239,13 +239,13 @@ class Econ(commands.Cog):
if ctx.invoked_subcommand is None:
embed = discord.Embed(color=self.d.cc)
- embed.set_author(name='Villager Shop', icon_url=self.d.splash_logo)
+ embed.set_author(name=ctx.l.econ.shop.villager_shop, icon_url=self.d.splash_logo)
- embed.add_field(name='__**Tools**__', value=f'`{ctx.prefix}shop tools`')
- embed.add_field(name='__**Magic**__', value=f'`{ctx.prefix}shop magic`')
- embed.add_field(name='__**Other**__', value=f'`{ctx.prefix}shop other`')
+ embed.add_field(name=f'__**{ctx.l.econ.shop.tools}**__', value=f'`{ctx.prefix}shop tools`')
+ embed.add_field(name=f'__**{ctx.l.econ.shop.magic}**__', value=f'`{ctx.prefix}shop magic`')
+ embed.add_field(name=f'__**{ctx.l.econ.shop.other}**__', value=f'`{ctx.prefix}shop other`')
- embed.set_footer(text=f'Use {ctx.prefix}inventory to see what you have!')
+ embed.set_footer(text=ctx.l.econ.shop.embed_footer.format(ctx.prefix))
await ctx.send(embed=embed)
