aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2021-08-15 23:10:59 +0300
committerGravatar GitHub <[email protected]>2021-08-15 23:10:59 +0300
commit94f03bcc5bc6b7264d0fc32c403b60bf7ec9ac20 (patch)
tree36349897aad0ddfca6a6dacb24ba82ad079493bf
parentImproved codejam end confirmation (diff)
Add default value to csv_file
Co-authored-by: Bluenix <[email protected]>
-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 d0c206b5e..78f375416 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.