From d78e2dd1c3ff02597cf9c01ebb10d2da3a950b8a Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Sun, 20 Apr 2025 18:16:27 -0300 Subject: [PATCH] feat(shard): :sparkles: Create aliases for `p.lock` and `p.record`. --- payphone/cogs/admin/cog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/payphone/cogs/admin/cog.py b/payphone/cogs/admin/cog.py index 6330a78..68a026f 100644 --- a/payphone/cogs/admin/cog.py +++ b/payphone/cogs/admin/cog.py @@ -178,7 +178,7 @@ class Admin(base.Cog): view=views.ReportView(self.bot, report, (0, remaining_reports)), ) - @commands.command(aliases=["bs", "ws"]) + @commands.command(aliases=["bs", "ws", "bans", "warns", "warnings"]) @checks.is_moderator() async def record( self, ctx: commands.Context, user: discord.User | int | None = None @@ -467,7 +467,7 @@ class Admin(base.Cog): except discord.DiscordException: pass - @commands.command() + @commands.command(aliases=["l"]) @checks.is_in_server(constants.PAYPHONE_HUB_ID) @checks.is_moderator() async def lock(self, ctx: commands.Context) -> None: