From 14d46a8b291e716ab350c81674efc0cd3ad99958 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Mon, 23 Jan 2023 21:42:22 -0500 Subject: [PATCH] Clearer handling of first /compare --- modules/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/functions.js b/modules/functions.js index a5c8e16..013eccc 100644 --- a/modules/functions.js +++ b/modules/functions.js @@ -147,7 +147,7 @@ const functions = { }, compare(interaction) { if (guildInfo[interaction.guildId] == undefined) { - return `Please reset the reference messages! (${interaction.guildId})`; + return strings.error.noGuild; } let treeHeight = parseFloat(guildInfo[interaction.guildId].treeHeight).toFixed(1); if ((guildInfo[interaction.guildId].rankings.length > 0) && (treeHeight > 0)) {