From 47d359718c3366b2da43d0c97740d8b405421bbe Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 14 Dec 2023 17:02:51 -0500 Subject: [PATCH] misc(moderation): added docstring for inline argument --- moderation/moderation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index 04955be..5b9c06f 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -822,7 +822,7 @@ class Moderation(commands.Cog): await self.log(interaction, moderation_id) @app_commands.command(name="history") - async def history(self, interaction: discord.Interaction, target: discord.User = None, moderator: discord.User = None, pagesize: app_commands.Range[int, 1, 25] = 5, page: int = 1, ephemeral: bool = False, export: bool = False, inline: bool = False): + async def history(self, interaction: discord.Interaction, target: discord.User = None, moderator: discord.User = None, pagesize: app_commands.Range[int, 1, 25] = 5, page: int = 1, ephemeral: bool = False, inline: bool = False, export: bool = False): """List previous infractions. Parameters @@ -837,6 +837,8 @@ class Moderation(commands.Cog): Page to select ephemeral: bool Hide the command response + inline: bool + Display infractions in a grid arrangement (does not look very good) export: bool Exports the server's entire moderation history to a JSON file""" await interaction.response.defer(ephemeral=ephemeral)