External File Storage for Photos

This commit is contained in:
Daniel Odendahl Jr
2017-04-26 20:47:03 +00:00
parent d376484566
commit 041ae7fb7c
126 changed files with 52 additions and 163 deletions
+1 -1
View File
@@ -14,6 +14,6 @@ module.exports = class SpamCommand extends Command {
if (message.channel.type !== 'dm')
if (!message.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
return message.say('This Command requires the `Attach Files` Permission.');
return message.channel.send({files: ['./images/Spam.jpg']});
return message.channel.send({files: ['https://i.imgur.com/2JFu5xE.jpg']});
}
};