como fazer um comando de matar discord.js

let victim = message.mentions.users.first();

        if(!victim){
            message.reply('Mention someone to kill!')
          //if there is no victim the bot will reply with this
        } else {
            message.channel.send(`${victim} was killed!`)
          
        }
Alert Alligator