const Discord = require('discord.js')
exports.run = (client, messsage, args) => {
  let role = message.mentions.roles.first()
  let member = message.mentions.members.first()
  let user = message.mentions.members.first()
  var embed = new Discord.RichEmbed()
  
  .setAuthor(message.guild, client.user.displayAvatarURL)
  .setDescription('Takes a role from a user')
  .setFooter(`This message has been sent from ${message.guild}.`)
  .addField('Member:', member)
  .addField('Role', role)
 

member.removeRole(role).catch(console.error)
}

@@ -58,17 +58,16 @@
 nt, mess
-s
 age, arg
@@ -161,24 +161,42 @@
 bers.first()
+ %7C%7C message.member
 %0A  let user 
@@ -218,60 +218,319 @@
 ons.
-members.first()%0A  var embed = new Discord.RichEmbed(
+users.first() message.author%0A  let modlog = message.guild.channels.find('name', 'mod-log')%0A  if(!modlog) return message.reply(%60Please create a channel named 'mod-log'%60)%0A  if(!role) return message.reply('Please include a role')%0A  var embed = new Discord.RichEmbed()%0A  %0A   member.addRole(role).catch(console.error
 )%0A  
@@ -611,11 +611,13 @@
 on('
-Tak
+Remov
 es a
@@ -626,19 +626,18 @@
 ole 
-from
+to
  a user
+.
 ')%0A 
@@ -680,12 +680,10 @@
 ent 
-from
+at
  $%7Bm
@@ -747,16 +747,17 @@
 ld('Role
+:
 ', role)
@@ -762,53 +762,117 @@
 e)%0A 
-%0A%0Amember.removeRole(role).catch(console.error
+ %0A  message.channel.send(%60 $%7Buser%7D has added the role to $%7Bmember%7D. %60)%0A  modlog.send(embed)%0A  user.send(embed
 )%0A%7D%0A

Update takerole.js