Closed TBTerra closed 6 years ago
a pull request? in roxbot?
what is this
in all seriousness tho, I'm out at the moment, but from what I can see, seems pretty good - only thing is you could always add an argument to revert to old style ranking, just incase, but that's probably a bit too far for what is a joke command
(also lmao sorry for jumping in here, we have github on webhook, and I checked to see what roxie was upto)
While basing rating of paring is cool, I wouldn't want this command to be so complicated. I'm hesitant to pull for a number of reasons to begin with. But one major one is that hashing the IDs when discord themselves only use discriminators for things like determining default avatar colour. This is too complicated and a similar result can be done with less code.
I just think it's too complex for a simple command. If it can be made more simple I'll accept it.
Rating system is now deterministic. it is also order independant meaning that A rate B will result in the same value as B rate A, and that poly ratings wont care about mention order.
This system does have draw backs. most notably that if somone dosnt like the rating they got, they cant run it again to get a better rating.
Its upto you if you think adding this to the bot would be an improvment. I just did it for fun.
PS. havent tested on actual server so the way i grab mention userIDs on lines 218-220 might be wrong