Shorten map link label to Map
This commit is contained in:
1 parent
46e9b7672d
commit
6311842d98
1 file changed
+1
-1
@@ -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🗺️ Interactive map: <" + mapLink + ">" : "");
|
||||
const content = aiReply + (mapLink ? "\n\n🗺️ Map: <" + mapLink + ">" : "");
|
||||
await message.reply(content);
|
||||
rememberAiExchange(message.author.id, query, aiReply);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user