title: I have some problems with message id and a lot of mistakes
body: <p>I have a code, which is not working. I do not know how to finish it.
  I need if user writing in one channel, his message sending in another, where admin can accept it or denie. So I have a lot of mistakes. </p>
  
  <pre><code>let rMember = message.id(message.id.get(args[0]));
  
  const { RichEmbed } = require("discord.js");
  
  module.exports.run = async (client, message, args) =&gt; {
    if (message.channel.id !== "someid") return message.delete();
    if(!message.member.hasPermission("KICK_MEMBERS")) return message.delete();
    let rMember = message.id(message.id.get(args[0]));
    if(!rMember) return await message.delete() &amp;&amp; message.reply("nope.").then(m =&gt; m.delete(3000));
  
    await message.delete().catch(O_o=&gt;{});
  
    const co = '1';
    const a = '2';
    const b = '3';
    const c = '4';
    const d = '5';
    const e = '6';
  
    const prohibited = ['someid'];
    if (!message.member.roles.find(role =&gt; prohibited.includes(role.id))) return message.delete().catch(O_o=&gt;{});
  
    const filter = (reaction, user) =&gt; ['' ,'', '', '', '', ''].includes(reaction.emoji.name) &amp;&amp; user.id === message.author.id;
  
    const embed = new RichEmbed()
        .setTitle('nope:')
        .setDescription(`
  
         ${co.toString()}
         ${a.toString()}
         ${b.toString()}
         ${c.toString()}
         ${d.toString()}
         ${e.toString()}
  
        `)
        .setColor(0xdd9323)
        .setFooter(`ID: ${rMember}`);
  
    message.channel.send(embed).then(async msg =&gt; {
  
        await msg.react('')
        await msg.react('');
        await msg.react('');
        await msg.react('');
        await msg.react('');
        await msg.react('');
  
        msg.awaitReactions(filter, {
            max: 1,
            time: 30000,
             errors: ['time']
        }).then(collected =&gt; {
  
            const reaction = collected.first();
  
            switch (reaction.emoji.name) {
                case '':
                    message.client.channels.get(`someid`).send(`${message.member} ${rMember}: **${co}**.`);
                    msg.delete()
                    break;
                case '':
                    message.client.channels.get(`someid`).send(`${message.member} ${rMember}: **${a}**.`);
                    msg.delete()
                    break;
                case '':
                    message.client.channels.get(`someid`).send(`${message.member} ${rMember}: **${b}**.`);
                    msg.delete()
                    break;
                case '':
                    message.client.channels.get(`someid`).send(`${message.member} ${rMember}: **${c}**.`);
                    msg.delete()
                    break;
                case '':
                    message.client.channels.get(`someid`).send(`${message.member} ${rMember}: **${d}**.`);
                    msg.delete()
                    break;
                case '':
                    message.client.channels.get(`someid`).send(`${message.member} ${rMember}: **${e}**.`);
                    msg.delete()
                    break;
            }
  
        }).catch(collected =&gt; {
            return message.channel.send(`Error.`).then(m =&gt; m.delete(3000))
        });
  
    });
  
    try{
      await rMember.send(`${message.member} nope.`)
    }catch(e){
    }
  }
  
  module.exports.help = {
    name: "denie"
  }
  </code></pre>
  
  <p>So this is working code, which sends embed message</p>
  
  <pre><code>client.on('message', async message =&gt; {
    if (message.channel.id == "someid") {
      if (!message.member.roles.find(r =&gt; r.name === "role")) return await message.delete();
      if (message.author.bot) return;
      if (!message.content) return;
      const embed = new RichEmbed()
        .setTitle('woops:')
        .setDescription(message.content)
        .setColor(0xdd9323)
        .setFooter(`MessageID: ${message.id}`);
  
      await message.client.channels.get(`someid`).send(embed)
    }
  
    try{
    }catch(e){
    }
  })
  </code></pre>
  
  <blockquote>
    <p>(node:6544) UnhandledPromiseRejectionWarning: TypeError:
    message.id.get is not a function</p>
  </blockquote>