Skip to content

Commit

Permalink
Update objects.py
Browse files Browse the repository at this point in the history
  • Loading branch information
flaree authored Jul 29, 2024
1 parent 43eb5b3 commit 1adcd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion giveaways/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ async def add_entrant(
def remove_entrant(self, userid: int) -> None:
self.entrants = [x for x in self.entrants if x != userid]

def draw_winner(self) -> list[int]:
def draw_winner(self):
winner_count = self.kwargs.get("winners") or 1
if len(self.entrants) < winner_count:
return None
Expand Down

0 comments on commit 1adcd39

Please sign in to comment.