SHARE
TWEET

Untitled

a guest May 25th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. client.on('message', message => {
  2.     if (message.guild) return undefined;
  3.     var roomid = "579036170122559521";
  4.     var room = client.channels.get(roomid);
  5.     if (!room) return undefined;
  6.     var emb = new Discord.RichEmbed()
  7.     .setColor("#36393e")
  8.     .setAuthor(message.author.username,message.author.displayAvatarURL)
  9.     .setDescription(`**Message from ${message.author} in the bot dm**\n\`\`\`apache\nMessage; ${message.content}\`\`\``)
  10.     .setThumbnail(message.author.displayAvatarURL)
  11.     .setTimestamp();
  12.     room.send(emb);
  13. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top