fix/leaderboard timesShot shotsLanded stats
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -107,7 +107,9 @@ module.exports = {
|
|||||||
category == 'longestSessionTime' ? `**Longest Game Session:** ${client.secondsToDhms(leaderboard[i].longestSessionTime)}` :
|
category == 'longestSessionTime' ? `**Longest Game Session:** ${client.secondsToDhms(leaderboard[i].longestSessionTime)}` :
|
||||||
category == 'KDR' ? `**KDR: ${leaderboard[i].KDR.toFixed(2)}**` :
|
category == 'KDR' ? `**KDR: ${leaderboard[i].KDR.toFixed(2)}**` :
|
||||||
category == 'connection' ? `**Connections: ${leaderboard[i].connections}**` :
|
category == 'connection' ? `**Connections: ${leaderboard[i].connections}**` :
|
||||||
category == 'combatRating' ? `**Combat Rating:** ${leaderboard[i].combatRating}` : 'N/A Error';
|
category == 'combatRating' ? `**Combat Rating:** ${leaderboard[i].combatRating}` :
|
||||||
|
category == 'shotsLanded' ? `**Shots Landed:** ${leaderboard[i].shotsLanded}` :
|
||||||
|
category == 'timesShot' ? `**Times Shot:** ${leaderboard[i].timesShot}` : 'N/A Error';
|
||||||
|
|
||||||
if (category == 'money') des += `**${i+1}.** <@${leaderboard[i].user.userID}> - **${stats}**\n`
|
if (category == 'money') des += `**${i+1}.** <@${leaderboard[i].user.userID}> - **${stats}**\n`
|
||||||
else if (category == 'totalSessionTime' || category == 'longestSessionTime' || category == 'combatRating') {
|
else if (category == 'totalSessionTime' || category == 'longestSessionTime' || category == 'combatRating') {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dayzr-bot",
|
"name": "dayzr-bot",
|
||||||
"version": "12.5.5",
|
"version": "12.5.6",
|
||||||
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
|
|||||||
Reference in new issue
Block a user