From abdae5f55776fdef6d7ac904e47bbb506c204165 Mon Sep 17 00:00:00 2001 From: Lysquid Date: Thu, 25 Apr 2024 10:12:54 +0200 Subject: [PATCH] cant use scores without argument --- cogs/code_golf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/code_golf.py b/cogs/code_golf.py index a73df97..176df95 100644 --- a/cogs/code_golf.py +++ b/cogs/code_golf.py @@ -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 """