You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
23:46:19 [AiOS]: [chart]: Chart rendering...
/ai/node_modules/canvas/index.js:48
return Canvas._registerFont(fs.realpathSync(src), fontFace)
^
Error: Could not parse font file
at Object.registerFont (/ai/node_modules/canvas/index.js:48:17)
at Object.renderChart (/ai/built/modules/chart/render-chart.js:25:14)
at default_1.genChart (/ai/built/modules/chart/index.js:119:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async default_1.post (/ai/built/modules/chart/index.js:40:22)
font.ttf
を配置せずにchartEnabled: true
な状態で起動すると、チャート機能実行時に上記エラーで落ちます。従って、bot起動前に上記の状態になっていないかをチェックし、なっている場合は起動しないようにすると良いかと思います。
The text was updated successfully, but these errors were encountered: