remove unnecessary if
This commit is contained in:
		@@ -36,9 +36,6 @@ export async function execute(messageReaction: MessageReaction, user: User) {
 | 
				
			|||||||
			logger.info(`Reaction is NONE_OF_THAT on a vote message. Handling`, { requestId, guildId })
 | 
								logger.info(`Reaction is NONE_OF_THAT on a vote message. Handling`, { requestId, guildId })
 | 
				
			||||||
			return client.voteController.handleNoneOfThatVote(messageReaction, reactedUponMessage, requestId, guildId)
 | 
								return client.voteController.handleNoneOfThatVote(messageReaction, reactedUponMessage, requestId, guildId)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (messageReaction.emoji.toString() === Emoji.one) {
 | 
					 | 
				
			||||||
			// do something
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	else if (isInitialAnnouncement(reactedUponMessage)) {
 | 
						else if (isInitialAnnouncement(reactedUponMessage)) {
 | 
				
			||||||
		if (messageReaction.emoji.toString() === Emoji.ticket) {
 | 
							if (messageReaction.emoji.toString() === Emoji.ticket) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user