From 98be088da189d7d36db28382c5476528f7cf39fa Mon Sep 17 00:00:00 2001 From: maskduck Date: Sat, 25 May 2024 09:12:57 +0700 Subject: [PATCH] Fix typehint --- _orangcbot/extensions/suggestions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_orangcbot/extensions/suggestions.py b/_orangcbot/extensions/suggestions.py index fd67b99..4a71e94 100644 --- a/_orangcbot/extensions/suggestions.py +++ b/_orangcbot/extensions/suggestions.py @@ -84,7 +84,7 @@ async def _on_suggest_for_autocomplete(self, interaction: Interaction, for_: str async def _deny( self, interaction: Interaction, - messageId=SlashOption( + messageId: int = SlashOption( name="message_id", description="Message to deny", required=True ), why: str = SlashOption( @@ -107,7 +107,7 @@ async def _deny( async def _approve( self, interaction: Interaction, - messageId: str = SlashOption( + messageId: int = SlashOption( name="message_id", description="Message to approve", required=True ), why: str = SlashOption(