misc(moderation): added docstring for inline argument
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 53s
This commit is contained in:
parent
24f933f6f6
commit
47d359718c
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue