Nam
DIAdiscord.js - Imagine an app
•Created by TheActualGamer1YT on 12/29/2023 in #djs-questions
How to make a leaderboard command with keyv?
btw this is the output of this code
6 replies
DIAdiscord.js - Imagine an app
•Created by TheActualGamer1YT on 12/29/2023 in #djs-questions
How to make a leaderboard command with keyv?
So by using this, you can get the top user by get the first value of the array (
array[0]
)6 replies
DIAdiscord.js - Imagine an app
•Created by TheActualGamer1YT on 12/29/2023 in #djs-questions
How to make a leaderboard command with keyv?
you can convert the Map to an array using
for...of
loop and compare the array by using sort.
Example:6 replies
DIAdiscord.js - Imagine an app
•Created by TheActualGamer1YT on 12/29/2023 in #djs-questions
How to make a leaderboard command with keyv?
this is what I got after making some experiment
6 replies
DIAdiscord.js - Imagine an app
•Created by ice2morrow on 12/11/2023 in #djs-questions
Checking a Category Channel for full?
I think in the category object it would contain a property which is a map named channels, which you can get the size of the map and compare with 50
9 replies
DIAdiscord.js - Imagine an app
•Created by ice2morrow on 12/11/2023 in #djs-questions
Checking a Category Channel for full?
So you can use conditions and compare
9 replies
DIAdiscord.js - Imagine an app
•Created by ice2morrow on 12/11/2023 in #djs-questions
Checking a Category Channel for full?
9 replies
DIAdiscord.js - Imagine an app
•Created by ice2morrow on 12/11/2023 in #djs-questions
Checking a Category Channel for full?
Well, a category can hold 50 channels
9 replies