From 743949e9ad2289f8473b84d937c288a47a81d38f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 00:33:53 -0400 Subject: [PATCH] fix: testing a fix to shortmute --- shortmute/shortmute.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index 9add5e2..53c253e 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -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 = {