update trackday command
This commit is contained in:
parent
1917194063
commit
6cfeeb9c2f
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user