Skip to content

Commit

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

0 comments on commit 152b51f

Please sign in to comment.