This commit is contained in:
Daniel Odendahl Jr
2018-10-12 00:59:12 +00:00
parent b0d40bff96
commit 2b9892b659
+1 -1
View File
@@ -28,7 +28,7 @@ module.exports = class MayoClinicCommand extends Command {
const location = await this.search(query);
if (!location) return msg.say('Could not find any results.');
const data = await this.fetchDisease(location);
if (typeof data === 'string') return msg.say(`I found a match, but it\'s not a disease: ${data}`);
if (typeof data === 'string') return msg.say(`I found a match, but it's not a disease: ${data}`);
const embed = new MessageEmbed()
.setColor(0x0044B3)
.setAuthor('Mayo Clinic', 'https://i.imgur.com/9zdulOS.jpg', 'https://www.mayoclinic.org/')