Skip to content

Commit

Permalink
1.4.6.1
Browse files Browse the repository at this point in the history
fix networthEmbed.js accepting profileid as username
  • Loading branch information
axlecoffee committed Jan 6, 2024
1 parent 488c564 commit 03ca426
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/discord/commands/embeds/networthEmbed.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 03ca426

Please sign in to comment.