fix: testing a fix to shortmute

This commit is contained in:
Seaswimmer 2023-08-08 00:33:53 -04:00
parent 9238c27d5a
commit 743949e9ad
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -17,7 +17,7 @@ class Shortmute(commands.Cog):
@app_commands.command()
@app_commands.rename(target='member')
async def shortmute(self, interaction: discord.Interaction, target: discord.Member, duration: int, reason: str, evidence_link: str = None, evidence_image: discord.AppCommandOptionType.attachment = None):
async def shortmute(self, interaction: discord.Interaction, target: discord.Member, duration: int, reason: str, evidence_link: str = None, evidence_image: discord.Attachment = None):
"""Shortmute someone for up to 30m.
Parameters
@ -30,7 +30,7 @@ class Shortmute(commands.Cog):
The reason for the shortmute
evidence_link: str = None
An image link to evidence for the shortmute, do not use with evidence_image
evidence_image: discord.AppCommandOptionType.attachment = None
evidence_image: discord.Attachment = None
An image file used as evidence for the shortmute, do not use with evidence_link
"""
passed_info = {