refactor/quality of life better param names for getDefaultPlayer

This commit is contained in:
SowinskiBraeden committed 2024-04-27 23:05:59 -07:00
1 parent 2c4d5bbe10
commit daa87574e1
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -40,13 +40,13 @@ module.exports = {
}); });
}, },
getDefaultPlayer(gt, pID, NSID) { getDefaultPlayer(gamertag, playerId, nitradoServerId) {
return { return {
// Identifiers // Identifiers
gamertag: gt, gamertag: gamertag,
playerID: pID, playerID: playerId,
discordID: "", discordID: "",
nitradoServerID: NSID, nitradoServerID: nitradoServerId,
// General PVP Stats // General PVP Stats
KDR: 0.00, KDR: 0.00,
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayzr-bot", "name": "dayzr-bot",
"version": "13.1.10", "version": "13.1.11",
"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": {