fix: testing a fix to shortmute
This commit is contained in:
parent
9238c27d5a
commit
743949e9ad
1 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue