finish multiple language support for mine command
@@ -606,6 +606,7 @@ class Econ(commands.Cog):
yield_chance_list = [True]*yield_[0] + [False]*yield_[1]
found = random.choice(yield_chance_list)
+ # what the fuck?
for item in list(self.d.mining.yields_enchant_items):
if await self.db.fetch_item(ctx.author.id, item) is not None:
found += random.choice(self.d.mining.yields_enchant_items[item]) if found else 0
@@ -648,7 +649,7 @@ class Econ(commands.Cog):
await self.db.balance_add(ctx.author.id, found)
- await self.bot.send(ctx, f'You {random.choice(self.d.mining.item_finds_text.actions)} {found}{self.d.emojis.emerald}!')
+ await self.bot.send(ctx, ctx.l.econ.mine.found_emeralds.format(ctx.l.econ.mine.actions, found, self.d.emojis.emerald))
@commands.command(name='pillage')
async def pillage(self, ctx, victim: discord.User):
