title: TypeError: Cannot read property 'send' of undefined (reportschannel.send) discord.js
body: <p>I'm making a report command and got this erorr</p>
  <pre><code>reportsChannel.send(`**${message.author.username}** has reported **${target.user.username}** for 
                  ^
  **${reason}**.`);
  TypeError: Cannot read property 'send' of undefined
  </code></pre>
  <p>This error only happens when I'm in a different server than the channel where all reports are stored</p>
  <p>here is my code:</p>
  <pre><code> switch(args[0]){
          case 'report':
              let target = message.mentions.members.first() || message.guild.members.cache.get(args[0]);
              if(!target) return message.channel.send('Please provide a user that you wish to report').then(m =&gt; m.delete({timeout: 15000}));
  
              var reason = args.slice(2).join(&quot; &quot;);
              if(!reason) return message.channel.send(`Please provide a reason for reporting **${target.user.username}**`).then(m =&gt; m.delete({timeout: 15000}));
     
              let reportsChannel = message.guild.channels.cache.find(x =&gt; x.id === &quot;747697771594645566&quot;)
     
              if(args[1] === target, args[2] === reason){
                  message.channel.send('Your report has been filled to the staff team. Thank you for reporting!')
                  reportsChannel.send(`**${message.author.username}** has reported **${target.user.username}** for **${reason}**.`);
              }
          break;
        };
  </code></pre>
  <p>Any idea how to fix this? Thanks</p>