Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #53 from is-a-dev/developments
Browse files Browse the repository at this point in the history
Fix typehint
  • Loading branch information
MaskDuck authored May 25, 2024
2 parents e0be932 + 98be088 commit ef44608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _orangcbot/extensions/suggestions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit ef44608

Please sign in to comment.