Skip to content

Commit

Permalink
style(pre-commit): auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed May 26, 2024
1 parent 3b99f2b commit ac1d8fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion discord/poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@ def add_answer(
Chaining style ::
poll = Poll("What's your favorite color?").add_answer("Red", emoji="❤").add_answer("Green").add_answer("Blue")
"""
if len(self.answers) >= 10:
raise ValueError("Polls may only have up to 10 answers.")
Expand Down

0 comments on commit ac1d8fc

Please sign in to comment.