diff --git a/aurora/aurora.py b/aurora/aurora.py index 9cff9d9..629477c 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -182,6 +182,11 @@ class Aurora(commands.Cog): @commands.hybrid_command(name="note") @commands.mod_or_permissions(moderate_members=True) + @app_commands.describe( + target="Who are you noting?", + reason="Why are you noting this user?", + silent="Should the user be messaged?", + ) async def note( self, ctx: commands.Context, @@ -189,16 +194,7 @@ class Aurora(commands.Cog): reason: str, silent: bool = None, ): - """Add a note to a user. - - Parameters - ----------- - target: discord.User - Who are you noting? - reason: str - Why are you noting this user? - silent: bool - Should the user be messaged?""" + """Add a note to a user.""" if not await check_moddable(target, ctx, ["moderate_members"]): return @@ -242,6 +238,11 @@ class Aurora(commands.Cog): @commands.hybrid_command(name="warn") @commands.mod_or_permissions(moderate_members=True) + @app_commands.describe( + target="Who are you warning?", + reason="Why are you warning this user?", + silent="Should the user be messaged?", + ) async def warn( self, ctx: commands.Context, @@ -249,16 +250,7 @@ class Aurora(commands.Cog): reason: str, silent: bool = None, ): - """Warn a user. - - Parameters - ----------- - target: discord.Member - Who are you warning? - reason: str - Why are you warning this user? - silent: bool - Should the user be messaged?""" + """Warn a user.""" if not await check_moddable(target, ctx, ["moderate_members"]): return