Skip to content

Commit

Permalink
Merge pull request #48 from Delfram99/bugfix
Browse files Browse the repository at this point in the history
formatting fix
  • Loading branch information
B3none authored Jan 12, 2023
2 parents c2562e8 + d602177 commit b7b7660
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bot/cogs/match.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,9 @@ async def _process_vote(self, reaction, user):

# Add map vote if it is valid
if user not in self.users or user in self.voted_users or \
str(reaction) not in [self.bot.emoji_dict[m.dev_name] for m in self.map_pool]:
await self.remove_reaction(reaction, user)
return
str(reaction) not in [self.bot.emoji_dict[m.dev_name] for m in self.map_pool]:
await self.remove_reaction(reaction, user)
return

try:
self.map_votes[str(reaction)] += 1
Expand Down

0 comments on commit b7b7660

Please sign in to comment.