fix(moderation): added docstring to export argument in case command

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

View file

@ -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)