diff --git a/package.json b/package.json index 1e0f506..6dfbcc3 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "skystats", - "version": "1.4.6", + "version": "1.4.6.1", "description": "A Hypixel Skyblock Metrics Bot For Discord.", - "changelog": "SkyStats Nightly\n1.4.6 Weight command beta\n+farmingWeight()\n+senitherWeight()\n+Sanitization for both\n+weightCommand.js\nNote that weight command is not finished and this is only the framework\n**TODO** Buttons and switching", + "changelog": "SkyStats Nightly\n1.4.6.1 Weight command beta\n+farmingWeight()\n+senitherWeight()\n+Sanitization for both\n+weightCommand.js\nNote that weight command is not finished and this is only the framework\n**TODO** Buttons and switching\nFix an error in 1.4.6 that caused networth to die", "main": "index.js", "scripts": { "start": "pm2 start --only SkyStats-Production", diff --git a/src/discord/commands/embeds/networthEmbed.js b/src/discord/commands/embeds/networthEmbed.js index fbf379c..bd65482 100644 --- a/src/discord/commands/embeds/networthEmbed.js +++ b/src/discord/commands/embeds/networthEmbed.js @@ -20,7 +20,7 @@ const EMOJIS = { PERSONAL_VAULT_ICON: `<:item_2654:1061455349338615859>`, MISC_ICON: `<:wheat:1059664236038590584>`, } -async function networthEmbed(embed_ID, uuid, username, profilename, networth) { +async function networthEmbed(embed_ID, uuid, profileid, username, profilename, networth) { if (embed_ID === `totals_embed`) { return { color: 0xffa600,