This commit is contained in:
Daniel Odendahl Jr
2017-05-06 17:22:47 +00:00
parent 69bdc069f0
commit 1da7be553c
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = class UserInfoCommand extends Command {
});
}
async run(msg, args) {
run(msg, args) {
if(msg.channel.type !== 'dm')
if(!msg.channel.permissionsFor(this.client.user).has('EMBED_LINKS'))
return msg.say('This Command requires the `Embed Links` Permission.');