diff --git a/payphone/cogs/admin/cog.py b/payphone/cogs/admin/cog.py index ee871c9..e4fdec8 100644 --- a/payphone/cogs/admin/cog.py +++ b/payphone/cogs/admin/cog.py @@ -26,7 +26,7 @@ class Admin(base.Cog): self.bot = bot - @commands.command(aliases=["mod"]) + @commands.command(aliases=["mod"], extras={"help_name": "Set Moderator Status"}) @commands.is_owner() async def moderator( self, ctx: commands.Context, user: discord.User, toggle: bool | None = None @@ -118,7 +118,7 @@ class Admin(base.Cog): user: models.User = await models.User.get(id=user.id) await user.set_cache(self.bot.redis) - @commands.command(aliases=["sup"]) + @commands.command(aliases=["sup"], extras={"help_name": "Supporter Perks"}) @commands.is_owner() async def supporter( self, ctx: commands.Context, user: discord.User, months: int = 1 @@ -340,7 +340,7 @@ class Admin(base.Cog): author_check=True, ).send(ctx) - @commands.command(aliases=["rmw"]) + @commands.command(aliases=["rmw"], extras={"help_name": "Remove Warning"}) @checks.is_moderator() async def remove_warning(self, ctx: commands.Context, warn_id: int) -> None: """Delete a specific warning. @@ -373,7 +373,7 @@ class Admin(base.Cog): allowed_mentions=discord.AllowedMentions(users=False), ) - @commands.command(aliases=["rmb"]) + @commands.command(aliases=["rmb"], extras={"help_name": "Remove Ban"}) @checks.is_moderator() async def remove_ban(self, ctx: commands.Context, ban_id: int) -> None: """Delete a specific ban. @@ -418,12 +418,12 @@ class Admin(base.Cog): allowed_mentions=discord.AllowedMentions(users=False), ) - @commands.command(aliases=["clr"]) + @commands.command(aliases=["clr"], extras={"help_name": "Clear Criminal Record"}) @checks.is_moderator() async def clear_record( self, ctx: commands.Context, user: discord.User | int | None = None ) -> None: - """Clears the record of a user. + """Clears the warns and bans history of a user. Options: - `[user]`: The user, their ID, or the author of the command if none is specified.