From 6cfeeb9c2f59f88328dca3cf9be4bbb1edced1e5 Mon Sep 17 00:00:00 2001 From: Luke Robles <98352913+lrobles-iterable@users.noreply.github.com> Date: Tue, 29 Nov 2022 12:20:55 -0800 Subject: [PATCH] update trackday command --- app/cogs/actual_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/cogs/actual_utils.py b/app/cogs/actual_utils.py index b34b26e9..edaf90da 100644 --- a/app/cogs/actual_utils.py +++ b/app/cogs/actual_utils.py @@ -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)