Fix superpower

This commit is contained in:
Daniel Odendahl Jr
2018-10-13 02:49:32 +00:00
parent 324d89899d
commit 8bc0fb2457
+1 -1
View File
@@ -16,7 +16,7 @@ module.exports = class SuperpowerCommand extends Command {
async run(msg) {
try {
const id = await this.random();
const article = this.fetchSuperpower(id);
const article = await this.fetchSuperpower(id);
return msg.reply(stripIndents`
Your superpower is... **${article.title}**!
_${shorten(article.content.map(section => section.text).join('\n\n'), 1950)}_