Add blank line and link emoji before interactive map URL
This commit is contained in:
@@ -1676,7 +1676,7 @@ async function handleWiki(message, query) {
|
|||||||
const knownMap = findKnownGameMap(query);
|
const knownMap = findKnownGameMap(query);
|
||||||
const mapLink = findMapLink(searchResults && searchResults.results) ||
|
const mapLink = findMapLink(searchResults && searchResults.results) ||
|
||||||
(knownMap ? appendMapSearch(knownMap.url, extractMapSearchTerm(query, knownMap.name)) : null);
|
(knownMap ? appendMapSearch(knownMap.url, extractMapSearchTerm(query, knownMap.name)) : null);
|
||||||
const content = aiReply + (mapLink ? "\nInteractive map: " + mapLink : "");
|
const content = aiReply + (mapLink ? "\n\nInteractive map: 🔗 <" + mapLink + ">" : "");
|
||||||
await message.reply(content);
|
await message.reply(content);
|
||||||
rememberAiExchange(message.author.id, query, aiReply);
|
rememberAiExchange(message.author.id, query, aiReply);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user