Cannot access 'Canvas' before initialization at Object. in discord.js

前端 未结 0 1347
逝去的感伤
逝去的感伤 2021-02-14 09:13
Canvas.registerFont(resolve(join(__dirname, "./path/to/font/Discord.ttf")), "Discord");
const { Canvas } = require(\'canvas-constructor\'); // You ca         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题