update trackday command

This commit is contained in:
Luke Robles 2022-11-29 12:20:55 -08:00
parent 1917194063
commit 6cfeeb9c2f

View File

@ -117,12 +117,12 @@ class ActualUtils(commands.Cog):
description="Query motorsportsreg.com for a list of trackdays going on at Buttonwillow and Thunderhill", description="Query motorsportsreg.com for a list of trackdays going on at Buttonwillow and Thunderhill",
) )
@option( @option(
name="track", "track",
description="Choose a track to see the trackdays at, or leave blank for all", description="Choose a track to see the trackdays at, or leave blank for all",
choices=["Buttonwillow", "Thunderhill", "Both"], choices=["Buttonwillow", "Thunderhill", "Both"],
default="Both", default="Both",
) )
async def trackdays(self, ctx: commands.Context, track): async def trackdays(self, ctx: commands.Context, track: str):
import trackdays import trackdays
shid = await trackdays.get_msreg(track=track) shid = await trackdays.get_msreg(track=track)