Skip to content

Commit 0d091f7

Browse files
committed
Fix broken sync/clear command aliases due to incorrect kwarg name
1 parent 468960c commit 0d091f7

File tree

1 file changed

+2
-2
lines changed
  • bot/src/ghutils/cogs/commands

1 file changed

+2
-2
lines changed

bot/src/ghutils/cogs/commands/sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async def sync(self, ctx: GHUtilsContext):
2626

2727
await ctx.reply("Synced guild slash commands to this guild.")
2828

29-
@sync.command(name="all", alias=["global"])
29+
@sync.command(name="all", aliases=["global"])
3030
async def sync_all(self, ctx: GHUtilsContext):
3131
"""Sync global slash commands to all guilds."""
3232

@@ -48,7 +48,7 @@ async def clear(self, ctx: GHUtilsContext):
4848

4949
await ctx.reply("Removed guild slash commands from this guild.")
5050

51-
@clear.command(name="all", alias=["global"])
51+
@clear.command(name="all", aliases=["global"])
5252
async def clear_all(self, ctx: GHUtilsContext):
5353
"""Sync global slash commands to all guilds."""
5454

0 commit comments

Comments
 (0)