async def art(self, ctx, *, name): unit = FindBest(ToEmbed.DIRS['Unit'], name, ['name', 'nameJP', 'keywords'], True) for embed in ToEmbed.Unit(unit, 'art'): await ctx.send(embed=embed)
async def job(self, ctx, *, name): job = FindBest(ToEmbed.DIRS['Job'], name, ['keywords'], True) msg = await ctx.send(embed=ToEmbed.Job(job, 'main')) await self.add_reactions(msg, PAGES['job'])
async def nensou(self, ctx, *, name): card = FindBest(ToEmbed.DIRS['Conceptcard'], name, ['keywords', 'iname'], True) msg = await ctx.send(embed=ToEmbed.Conceptcard(card, 'main')) await self.add_reactions(msg, PAGES['conceptcard'])
async def kaigan(self, ctx, *, name): unit = FindBest(ToEmbed.DIRS['Unit'], name, ['name', 'nameJP', 'keywords'], True) msg = await ctx.send(embed=ToEmbed.Unit(unit, 'kaigan')) await self.add_reactions(msg, PAGES['unit'])
async def farm(self, ctx, *, name): item = FindBest(ToEmbed.DIRS['Item'], name, ['name'], True) msg = await ctx.send(embed=ToEmbed.Item(item, 'Story')) await self.add_reactions(msg, PAGES['item'])
async def ai(self, ctx, *, name): ai = FindBest(ToEmbed.DIRS['Ai'], name, ['iname'], True) msg = await ctx.send(embed=ToEmbed.AI(ai, 'main'))
async def rank(self, ctx, *, name): await ctx.send(embed=ToEmbed.Rank(name))
async def arena(self, ctx): await ctx.send(embed=ToEmbed.Arena())
async def gear(self, ctx, *, name): gear = FindBest(ToEmbed.DIRS['Artifact'], name, ['keywords'], True) msg = await ctx.send(embed=ToEmbed.Gear(gear, 'main')) await self.add_reactions(msg, PAGES['gear'])