This commit is contained in:
Daniel Odendahl Jr
2017-05-08 13:48:10 +00:00
parent 8ba552b21a
commit 5846742336
16 changed files with 17 additions and 17 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(`An Error Occurred: ${err}`));
}
};
+1 -1
View File
@@ -15,6 +15,6 @@ module.exports = class SpamCommand extends Command {
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
return msg.say('This Command requires the `Attach Files` Permission.');
return msg.channel.send({ files: ['https://i.imgur.com/2JFu5xE.jpg'] })
.catch (err => msg.say(`An Error Occurred: ${err}`));
.catch(err => msg.say(`An Error Occurred: ${err}`));
}
};