This commit is contained in:
Daniel Odendahl Jr
2017-05-08 21:41:54 +00:00
parent 3d91d5c8ab
commit b054a58bca
42 changed files with 79 additions and 83 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.channel.send({ files: [`https://memegen.link/${type}/${top}/${bottom}.jpg`] })
.catch(err => msg.say(`An Error Occurred: ${err}`));
.catch(err => msg.say(err));
}
};