aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2021-08-15 23:58:44 +0300
committerGravatar mbaruh <[email protected]>2021-08-15 23:58:44 +0300
commitd849d032fe306b9ef8763455d4416bc79a84243f (patch)
tree585376b6153a8e04615d063691aca2375fac99d0
parentAdd `cj end` timeout message, improve style (diff)
parentAdd default value to csv_file (diff)
Merge branch 'mbaruh/jam-management' of https://github.com/python-discord/bot into mbaruh/jam-management
-rw-r--r--bot/exts/events/code_jams/_cog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/events/code_jams/_cog.py b/bot/exts/events/code_jams/_cog.py
index e385f6441..e099f7dfa 100644
--- a/bot/exts/events/code_jams/_cog.py
+++ b/bot/exts/events/code_jams/_cog.py
@@ -33,7 +33,7 @@ class CodeJams(commands.Cog):
await ctx.send_help(ctx.command)
@codejam.command()
- async def create(self, ctx: commands.Context, csv_file: t.Optional[str]) -> None:
+ async def create(self, ctx: commands.Context, csv_file: t.Optional[str] = None) -> None:
"""
Create code-jam teams from a CSV file or a link to one, specifying the team names, leaders and members.