From 97e9b14c9d816cffe09032c00c4d9f8a8d446e96 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 22 Aug 2017 22:42:55 +0000 Subject: [PATCH] What --- commands/random/stocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()