Skip to content

Commit

Permalink
cant use scores without argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysquid committed Apr 25, 2024
1 parent b42f1dd commit abdae5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/code_golf.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def check(reaction: discord.Reaction, user: discord.User):

@golf.command(aliases=["sb"])
@cmds.guild_only()
async def scores(self, ctx: cmds.Context, challenge: challenge = None):
async def scores(self, ctx: cmds.Context, challenge: challenge):
"""
Display the scoreboard of a code golf challenge
"""
Expand Down

0 comments on commit abdae5f

Please sign in to comment.