update trackday command
This commit is contained in:
parent
52cf210014
commit
ac0a6e52a9
@ -117,12 +117,12 @@ class ActualUtils(commands.Cog):
|
||||
description="Query motorsportsreg.com for a list of trackdays going on at Buttonwillow and Thunderhill",
|
||||
)
|
||||
@option(
|
||||
name="track",
|
||||
"track",
|
||||
description="Choose a track to see the trackdays at, or leave blank for all",
|
||||
choices=["Buttonwillow", "Thunderhill", "Both"],
|
||||
default="Both",
|
||||
)
|
||||
async def trackdays(self, ctx: commands.Context, track):
|
||||
async def trackdays(self, ctx: commands.Context, track: str):
|
||||
import trackdays
|
||||
|
||||
shid = await trackdays.get_msreg(track=track)
|
||||
|
Loading…
x
Reference in New Issue
Block a user