The bot is silent and does not send me a transcript

Code:
(This is my first time working with discord.js, don’t judge me)
$djsEval[(async () => {
  const discordTranscripts = require("discord-html-transcripts");
  const userID = '602842619797569587';
  const channel = client.channels.cache.get("$channelID");
  const attachment = await discordTranscripts.createTranscript(channel, {
      filename: "transcript.html",
      saveImages: true, 
      poweredBy: false,
      number: message.content 
  });
 client.users.cashe.get(userID).send({
    files: [attachment]
  });
})();false]
Was this page helpful?