const Discord = require('discord.js');
exports.run = (client, message, args) => {
    let reason = args.slice(1).join(' ');
    let user = message.mentions.users.first();
    let modlog = client.channels.find('name', 'delet-this');
    if (!modlog) return message.reply('I cannot find a mod-log channel!')
    if (reason.length < 1) return message.reply('you must supply a reason to kick the mentioned user.');
    if (message.mentions.users.size < 1) return message.reply('you must mention a user to kick.').catch(console.error);
    
    if (!message.guild.member(user).kickable) return message.reply('I cannot kick that user from the server.');
    message.guild.member(user).kick();
    
    const embed = new Discord.RichEmbed()
    .setColor(0x00AE86)
    .setTimestamp()
    .addField('Action:', 'Kick')
    .addField('Target:', `${user.username}#${user.discriminator} [ID: ${user.id}]`)
    .addField('Responsible moderator:', `${message.author.username}#${message.author.discriminator}`);
    return client.channels.get(modlog.id).sendEmbed(embed);
};

exports.conf = {
    enabled: true,
    guildOnly: false,
    aliases: [],
    permLevel: 2
};

exports.help = {
    name: 'kick',
    description: 'Kicks the mentioned user from the server.',
    usage: 'kick [user] [reason]'
};
const Discord = require('discord.js');
exports.run = (client, message, args) => {
    let reason = args.slice(1).join(' ');
    let user = message.mentions.users.first();
    let modlog = client.channels.find('name', 'delet-this');
    let modRole = message.guild.roles.find('name', 'delet Mod');
    if (!message.member.roles.has(modRole.id)) {
        return message.reply('you have insufficient permissions to use this command.').catch(console.error);
    }
    if (!modlog) return message.reply('I cannot find a mod-log channel!')
    if (reason.length < 1) return message.reply('you must supply a reason to kick the mentioned user.');
    if (message.mentions.users.size < 1) return message.reply('you must mention a user to kick.').catch(console.error);
    
    if (!message.guild.member(user).kickable) return message.reply('I cannot kick that user from the server.');
    message.guild.member(user).kick();
    
    client.channels.get(modlog.id).send({embed: {
        color: 13174317,
        author: {
        name: `👢 Kicked ${user.username}#${user.discriminator} (${user.id})`,
        icon_url: user.avatarURL
        },
        title: "",
        url: "",
        description: `\`\`\`js\nReason: ${reason}\nResponsible moderator: ${message.author.tag} (${message.author.id})\`\`\``,
        // fields: [{
        //     name: "Fields",
        //     value: "They can have different fields with small headlines."
        // },
        // {
        //     name: "Masked links",
        //     value: "You can put [masked links](http://google.com) inside of rich embeds."
        // },
        // {
        //     name: "Markdown",
        //     value: "You can put all the *usual* **__Markdown__** inside of them."
        // }
        // ],
        timestamp: new Date(),
        footer: {
        //icon_url: client.user.avatarURL,
        text: "Moderation system powered by delet"
        }
    }
});

message.channel.send(`You successfully **kicked** ${user.tag} for "${reason}". :ok_hand:`);

};

exports.conf = {
    enabled: true,
    guildOnly: false,
    aliases: [],
    permLevel: 0
};

exports.help = {
    name: 'kick',
    description: 'Kicks the mentioned user from the server.',
    usage: 'kick [user] [reason]'
};

Update kick.js