From 85d6681af8adf5066a4fe2b5638ccca3f1979f42 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 22 Feb 2018 20:15:20 +0000 Subject: [PATCH] Fix --- commands/search/itunes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/itunes.js b/commands/search/itunes.js index 591d5c1a..30de8179 100644 --- a/commands/search/itunes.js +++ b/commands/search/itunes.js @@ -59,7 +59,7 @@ module.exports = class ITunesCommand extends Command { data.primaryGenreName, true); return msg.embed(embed); } catch (err) { - if (err.status === 500) { + if (err.status === 400) { return msg.reply('Invalid country code. Refer to .'); } return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);