mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 22:01:54 +02:00
Fix lint
This commit is contained in:
@@ -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/')
|
||||
|
||||
Reference in New Issue
Block a user