fix(moderation): added docstring to export argument in case command
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s
This commit is contained in:
parent
eb9cb459fd
commit
716e7a70f6
1 changed files with 3 additions and 1 deletions
|
@ -1112,7 +1112,9 @@ class Moderation(commands.Cog):
|
|||
case_number: int
|
||||
What case are you looking up?
|
||||
ephemeral: bool
|
||||
Hide the command response"""
|
||||
Hide the command response
|
||||
export: bool
|
||||
Export the case to a JSON file"""
|
||||
permissions = self.check_permissions(interaction.client.user, ['embed_links'], interaction)
|
||||
if permissions:
|
||||
await interaction.response.send_message(f"I do not have the `{permissions}` permission, required for this action.", ephemeral=True)
|
||||
|
|
Loading…
Reference in a new issue