Пример #1
0
 async def notes(self, *query:str):
     """print minor league team batting notes
     !milb pitching <team> - prints the team's batting notes from the box score
     """
     delta, query = self._find_delta(query)
     team = ' '.join(query)
     await self.bot.say("```%s```" % mymlbstats.get_milb_box(team,part='notes'))
Пример #2
0
 async def batting(self, ctx, *query: str):
     """print minor league team batting box score
     !milb batting <team> - prints the team's batting part of the box score
     """
     delta, query = self._find_delta(query)
     team = ' '.join(query)
     await ctx.send("```%s```" % mymlbstats.get_milb_box(team, delta=delta))
Пример #3
0
 async def pitching(self, *query:str):
     """print minor league team pitching box score
     !milb pitching <team> - prints the team's pitching part of the box score
     """
     delta, query = self._find_delta(query)
     team = ' '.join(query)
     await self.bot.say("```%s```" % mymlbstats.get_milb_box(team,part='pitching'))