remove unnecessary if
This commit is contained in:
parent
7d794a8001
commit
03b6a30ffa
@ -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 })
|
||||
return client.voteController.handleNoneOfThatVote(messageReaction, reactedUponMessage, requestId, guildId)
|
||||
}
|
||||
if (messageReaction.emoji.toString() === Emoji.one) {
|
||||
// do something
|
||||
}
|
||||
}
|
||||
else if (isInitialAnnouncement(reactedUponMessage)) {
|
||||
if (messageReaction.emoji.toString() === Emoji.ticket) {
|
||||
|
Loading…
Reference in New Issue
Block a user