From bac1a5a4335203f990f2677b9ed6fc441533b3ce Mon Sep 17 00:00:00 2001 From: Justin Oro Date: Fri, 11 Sep 2026 13:10:34 -0700 Subject: [PATCH] Show Map: Not found when no interactive map is available --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cfecc5e..67c84dd 100644 --- a/index.js +++ b/index.js @@ -1676,7 +1676,7 @@ async function handleWiki(message, query) { const knownMap = findKnownGameMap(query); const mapLink = findMapLink(searchResults && searchResults.results) || (knownMap ? appendMapSearch(knownMap.url, extractMapSearchTerm(query, knownMap.name)) : null); - const content = aiReply + (mapLink ? "\n\n🗺️ Map: <" + mapLink + ">" : ""); + const content = aiReply + "\n\n🗺️ Map: " + (mapLink ? "[mapgenie.io](<" + mapLink + ">)" : "Not found."); await message.reply(content); rememberAiExchange(message.author.id, query, aiReply); }