|
@@ -7,7 +7,7 @@ class CharacterApplication < ApplicationForm
|
|
|
maj = majority(event)
|
|
maj = majority(event)
|
|
|
|
|
|
|
|
reactions = event.message.reactions
|
|
reactions = event.message.reactions
|
|
|
- if reactions[Emoji::Y]&.count.to_i > 1 && star(event)
|
|
|
|
|
|
|
+ if reactions[Emoji::Y]&.count.to_i > maj && star(event)
|
|
|
approve(event)
|
|
approve(event)
|
|
|
elsif reactions[Emoji::N]&.count.to_i > maj
|
|
elsif reactions[Emoji::N]&.count.to_i > maj
|
|
|
deny(event)
|
|
deny(event)
|