Random Person Command

This commit is contained in:
Daniel Odendahl Jr
2017-09-23 23:05:52 +00:00
parent f44f383397
commit 67c2e38b56
6 changed files with 74 additions and 5 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ module.exports = class HistoryCommand extends Command {
.setTimestamp()
.setDescription(`${event.year}: ${event.text}`)
.addField(' See More',
event.links.map(link => `${link.title}: ${link.link.replace(/\)/g, '%29')}`).join('\n'));
event.links.map(link => `[${link.title}](${link.link.replace(/\)/g, '%29')})`).join(', '));
return msg.embed(embed);
} catch (err) {
if (err.status === 404 || err.status === 500) return msg.say('Could not find any results.');