Fix All Errors

This commit is contained in:
Daniel Odendahl Jr
2017-05-16 12:21:41 +00:00
parent 897978ef73
commit acf499fabe
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -42,6 +42,6 @@ module.exports = class MemeCommand extends Command {
return msg.say('This Command requires the `Attach Files` Permission.');
const { type, top, bottom } = args;
return msg.say({ files: [`https://memegen.link/${type}/${top}/${bottom}.jpg`] })
.catch(err => msg.say('No Results.'));
.catch(() => msg.say('An Error Occurred while sending the image.'));
}
};
+1 -1
View File
@@ -49,7 +49,7 @@ module.exports = class SoundboardCommand extends Command {
return null;
});
} catch (err) {
return msg.say('No Results.');
return msg.say('An Error Occurred.');
}
}
};