From 8e6e01ddf46868c7adc7240f848a3cc309543e1d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 13 Mar 2020 10:38:32 -0400 Subject: [PATCH] symbol -> company.symbol --- commands/search/stocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/stocks.js b/commands/search/stocks.js index 3327406c..7f889d56 100644 --- a/commands/search/stocks.js +++ b/commands/search/stocks.js @@ -50,7 +50,7 @@ module.exports = class StocksCommand extends Command { if (body['Error Message']) return msg.say('Could not find any results.'); const data = Object.values(body['Time Series (1min)'])[0]; const embed = new MessageEmbed() - .setTitle(`Stocks for ${company.name} (${symbol.toUpperCase()})`) + .setTitle(`Stocks for ${company.name} (${company.symbol.toUpperCase()})`) .setColor(0x9797FF) .setFooter('Last Updated') .setTimestamp(new Date(body['Meta Data']['3. Last Refreshed']))