diff --git a/commands/random/stocks.js b/commands/random/stocks.js index e26fece2..4246ebca 100644 --- a/commands/random/stocks.js +++ b/commands/random/stocks.js @@ -33,7 +33,7 @@ module.exports = class StocksCommand extends Command { interval: '1min', apikey: ALHPA_VANTAGE_KEY }); - if (body['Error Message']) return msg.say('Invalid Symbol.'); + if (body['Error Message']) return msg.say(body['Error Message']); const data = body['Time Series (1min)'][Object.keys(body['Time Series (1min)'])[0]]; const embed = new MessageEmbed() .setColor()