Skip to content

Commit

Permalink
[DiscordPolls] fix parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Jul 16, 2024
1 parent c2ed1f3 commit 92bbdb0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions discordpolls/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,10 @@ async def _poll_create(
self,
ctx: commands.GuildContext,
question: commands.Range[str, 1, 300],
answers: Optional[
Annotated[
List[Dict[str, Union[str, discord.PartialEmoji, None]]],
commands.Greedy[PollAnswerConverter],
]
] = None,
answers: Annotated[
List[Dict[str, Union[str, discord.PartialEmoji, None]]],
commands.Greedy[PollAnswerConverter],
],
duration: commands.Range[int, 1, 200] = 12,
multiple: bool = False,
):
Expand Down

0 comments on commit 92bbdb0

Please sign in to comment.