fix(moderation): added docstring to export argument in case command
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 48s

This commit is contained in:
Seaswimmer 2023-12-14 20:00:03 -05:00
parent eb9cb459fd
commit 716e7a70f6
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -1112,7 +1112,9 @@ class Moderation(commands.Cog):
case_number: int case_number: int
What case are you looking up? What case are you looking up?
ephemeral: bool 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) permissions = self.check_permissions(interaction.client.user, ['embed_links'], interaction)
if permissions: if permissions:
await interaction.response.send_message(f"I do not have the `{permissions}` permission, required for this action.", ephemeral=True) await interaction.response.send_message(f"I do not have the `{permissions}` permission, required for this action.", ephemeral=True)