예제 #1
0
    async def week(self, ctx, which_week, which_year=datetime.now().year):
        """ Specific week in a specific year of Nebraska's schedule"""
        edit_msg = await ctx.send("Loading...")

        await edit_msg.edit(content="",
                            embed=build_schedule_embed(which_year,
                                                       week=which_week))
예제 #2
0
 async def year(self, ctx, year=datetime.now().year, sport="football"):
     """ Specific year of Nebraska's football schedule """
     edit_msg = await ctx.send("Loading...")
     await edit_msg.edit(content="",
                         embed=build_schedule_embed(year=year, sport=sport))