예제 #1
0
 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)
예제 #2
0
 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'])
예제 #3
0
 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'])
예제 #4
0
 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'])
예제 #5
0
 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'])
예제 #6
0
 async def ai(self, ctx, *, name):
     ai = FindBest(ToEmbed.DIRS['Ai'], name, ['iname'], True)
     msg = await ctx.send(embed=ToEmbed.AI(ai, 'main'))
예제 #7
0
 async def rank(self, ctx, *, name):
     await ctx.send(embed=ToEmbed.Rank(name))
예제 #8
0
 async def arena(self, ctx):
     await ctx.send(embed=ToEmbed.Arena())
예제 #9
0
 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'])