#Sorting Error

8 messages · Page 1 of 1 (latest)

long notch
#

Hello I have a Vouch Bot (Reviews Bot) And I am making a leaderboard to see the top vouches(reviews) a guild has

The thing that is coming is-
Guild Leaderboard
Top 10 Guilds with the Most Vouches
INMATRIX SMP
INMATRIX SMP
Total Vouches: 1
INVITE REWARDS | 1 INV = MCNFA
INVITE REWARDS | 1 INV = MCNFA
Total Vouches: 48
Giveaway Bazaar #1.5K
Giveaway Bazaar #1.5K
Total Vouches: 3

its saying 2 times first with link and another normally and its not sorting from 10,9,8,7,6,5,4..... Ascending order. If somebody could help then it will be appreciated. T,his is my code-

hallow groveBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by staff
long notch
#

Node Version- v20.11.1

sacred drift
#

I don't think crossposting is going to help you get an answer any quicker and I'm unsure how sorting relates to the library. Seems better suited to #1081585952654360687

long notch
#

No reply

zealous forge
#

that doesn’t make it related to discord.js so please be patient