Discord-OwO-Bot
Discord-OwO-Bot copied to clipboard
Incorrect passive emoji fix and cleaning
The getEmoji() function sometimes showed incorrect passive for example: when the crit passive had qualities [100,99]. So I changed the logic to check between quality 'boundaries' instead of adding to the 'count' variable to get the rankQuality.
I also did some cleaning -> changed var
to const
let
, !=
to !==
etc.
:c but the funny