developerswirhlyy
developerswirhlyy
Discord Coding
1 post
Don't wanna be here? Send us removal request.
developerswirhlyy · 7 years ago
Text
New code for the cry command
const Discord = require("discord.js");
// const config = require('../botconfig.json') module.exports.run = async (bot, message, args) => { let kUser = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));  
if(!kUser) return message.channel.send({embed: { color: 3447003, description: `${mUser.member.displayName} Please use the right Usage \n **USAGE** s!cry [userMention]` }})  
if (message.author.id == kUser.id) return message.channel.send("You can't cry on yourself. 😭");  
if ("514809633588641792" == kUser.id) return message.channel.send("You can't cry on me :3")  
// let options = [""]  
// let Random = options[Math.floor(Math.random()*options.length)]  
let kissEmbed = new Discord.RichEmbed()  .setTitle(`${message.author.username} cries on ${kUser.displayName}'s shoulder`)  
.setColor("#f442d7")  
.setImage("https://i.imgur.com/hGzdq7C.gif")  
message.delete()  
message.channel.send(kissEmbed) } module.exports.help = {    
name: "cry"
}
1 note · View note