From 14d58b621d07411afe32d91f296049c40f758a76 Mon Sep 17 00:00:00 2001 From: kwzrd Date: Tue, 17 Mar 2020 22:39:31 +0100 Subject: Deseasonify: allow `set` to take multi-word args We do not have any multi-word seasons at the moment, but there is no reason to restrict the command to just one word. --- bot/branding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/branding.py') diff --git a/bot/branding.py b/bot/branding.py index a9b6234c..68d2d8bd 100644 --- a/bot/branding.py +++ b/bot/branding.py @@ -290,7 +290,7 @@ class BrandingManager(commands.Cog): await ctx.send("Branding applied") @branding_cmds.command(name="set") - async def branding_set(self, ctx: commands.Context, season_name: t.Optional[str] = None) -> None: + async def branding_set(self, ctx: commands.Context, *, season_name: t.Optional[str] = None) -> None: """Manually set season if `season_name` is provided, otherwise reset to current.""" if season_name is None: new_season = get_current_season() -- cgit v1.2.3