From 28316908558999a7022edb81e2c906b6e3e6194c Mon Sep 17 00:00:00 2001 From: Julia <90114526+juliatilde@users.noreply.github.com> Date: Sun, 5 Sep 2021 20:07:28 +0200 Subject: [PATCH] Fix error trolbot_1 | ReferenceError: path is not defined --- shitpost-video.js | 1 + 1 file changed, 1 insertion(+) diff --git a/shitpost-video.js b/shitpost-video.js index eb9e393..30923f5 100644 --- a/shitpost-video.js +++ b/shitpost-video.js @@ -1,5 +1,6 @@ const { createCanvas, loadImage } = require("canvas"); const fs = require("fs"); +const path = require(`path`); const tempDir = "./temp"; const imagesDir = "./images";