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

Commit 98be088

Browse files
committed
Fix typehint
1 parent dac3df9 commit 98be088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_orangcbot/extensions/suggestions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async def _on_suggest_for_autocomplete(self, interaction: Interaction, for_: str
8484
async def _deny(
8585
self,
8686
interaction: Interaction,
87-
messageId=SlashOption(
87+
messageId: int = SlashOption(
8888
name="message_id", description="Message to deny", required=True
8989
),
9090
why: str = SlashOption(
@@ -107,7 +107,7 @@ async def _deny(
107107
async def _approve(
108108
self,
109109
interaction: Interaction,
110-
messageId: str = SlashOption(
110+
messageId: int = SlashOption(
111111
name="message_id", description="Message to approve", required=True
112112
),
113113
why: str = SlashOption(

0 commit comments

Comments
 (0)