Added dice.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
const config = require('config');
|
||||
const style = require('./style');
|
||||
|
||||
function getLeaders(points, user, ping = false) {
|
||||
function getLeaders(points, user, ping = true) {
|
||||
return Object.entries(points).sort(([, scoreA], [, scoreB]) => scoreB - scoreA).map(([userKey, score], index) => {
|
||||
const username = userKey.split(':')[1] || userKey; // process the points file
|
||||
|
||||
|
||||
Reference in New Issue
Block a user