Skip to content

Commit

Permalink
aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysquid committed Apr 23, 2024
1 parent 40a8f39 commit 060a65d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/code_golf.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def check(reaction: discord.Reaction, user: discord.User):


@golf.command()
@cmds.guild_only()
@cmds.guild_only(aliases=["sb"])
async def scores(self, ctx: cmds.Context, challenge: challenge = None):
"""
Display the scoreboard of a code golf challenge
Expand Down Expand Up @@ -202,7 +202,7 @@ async def scores(self, ctx: cmds.Context, challenge: challenge = None):
await ctx.send(embed=embed, silent=True)


@golf.command(aliases=["lead"])
@golf.command(aliases=["lead", "lb"])
@cmds.guild_only()
async def leaderboard(self, ctx: cmds.Context):
"""
Expand Down

0 comments on commit 060a65d

Please sign in to comment.