Skip to content

Commit

Permalink
everyone has 0 challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysquid committed Apr 26, 2024
1 parent 8376652 commit 61de22f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cogs/code_golf.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ async def leaderboard(self, ctx: cmds.Context):
member = discord.utils.get(ctx.guild.members, name=name)
mention = member.mention if member else name
if name == CodeGolf.REFERENCE_IMPLEM:
mention = ctx.guild.default_role
mention = ctx.guild.default_role
count = 0
bureau = discord.utils.get(ctx.guild.roles, id=ids.BUREAU)

if member and bureau in member.roles:
Expand Down

0 comments on commit 61de22f

Please sign in to comment.