mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 08:22:37 +02:00
Fix
This commit is contained in:
@@ -46,7 +46,7 @@ module.exports = class FrameCommand extends Command {
|
||||
|
||||
async run(msg, { frame, image }) {
|
||||
try {
|
||||
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'frames', frame.file));
|
||||
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'frame', frame.file));
|
||||
const { body } = await request.get(image);
|
||||
const data = await loadImage(body);
|
||||
let canvas;
|
||||
|
||||
Reference in New Issue
Block a user