From d6eac632e823e5303e4a50aac35d1540753ca8c1 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Wed, 25 Jan 2023 23:17:07 -0500 Subject: [PATCH] Fix some bugs --- modules/functions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/functions.js b/modules/functions.js index a3e86ca..5624e87 100644 --- a/modules/functions.js +++ b/modules/functions.js @@ -204,7 +204,7 @@ const functions = { // Determine if this tree is the guild's tree if (leaderboardEntry.hasPin) { - comparisonReplyString += `#{leaderboardEntry.treeRank} - This is your tree`; + comparisonReplyString += `#${leaderboardEntry.treeRank} - This is your tree`; } else { // If it's another guild's tree // Calculate the current height difference const currentHeightDifference = guildInfo.treeHeight - leaderboardEntry.treeHeight; @@ -214,9 +214,9 @@ const functions = { } else { comparisonReplyString += `#${leaderboardEntry.treeRank} - ${Math.abs(currentHeightDifference).toFixed(1)}ft shorter`; } - // Build a string using the current leaderboard entry and the historic entry from 24 hours ago - comparisonReplyString += ` ${statusIndicator}\n`; } + // Build a string using the current leaderboard entry and the historic entry from 24 hours ago + comparisonReplyString += ` ${statusIndicator}\n`; } return comparisonReplyString; } catch (err) {