title: Trouble importing an image
body: <p>I keep getting this error when importing an image and using canvas with discord.js:</p>
  <pre class="lang-js prettyprint-override"><code>C:\Users\Travi\OneDrive\Documents\GitHub\re\src\img\licenseTemp.png:1
  �PNG
  
  
  SyntaxError: Invalid or unexpected token
  </code></pre>
  <p>Here's my code:
  I'm also using module Alias so that's why it's  const licenseTemp = require('@img')</p>
  <pre class="lang-js prettyprint-override"><code>const BaseCommand = require('../../utils/structures/BaseCommand');
  const Canvas = require('canvas');
  const { MessageAttachment } = require('discord.js');
  const licenseTemp = require('@img');
  
  module.exports = class RankCommand extends BaseCommand {
    constructor() {
      super('rank', 'Information', []);
    }
  
    async run(client, message, args) {
      const canvas = Canvas.createCanvas(449, 292);
      const ctx = canvas.getContext('2d');
  
      const background = await Canvas.loadImage(licenseTemp);
      ctx.drawImage(background, 0, 0, canvas.width, canvas.height);
  
      const attachment = new MessageAttachment(canvas.toBuffer(), 'license.png');
  
      message.channel.send(attachment);
    }
  }
  </code></pre>