From 7a7a49332df7c852abbaa33c7e8e87f93d064d61 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Wed, 21 Jun 2023 22:32:25 +0200 Subject: Updated includes/external/matrix/index.js, added pages/api/evening.php and deleted pages/api/schedule.php (automated) --- includes/external/matrix/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/external/matrix/index.js b/includes/external/matrix/index.js index 8e6f0b8..c01b3d2 100644 --- a/includes/external/matrix/index.js +++ b/includes/external/matrix/index.js @@ -109,8 +109,7 @@ client.once("sync", async function (state, prevState, res) { }); if (user === "raindrops" && name === "Hazy Stardawn") { - child_process.execSync("convert " + avatar1 + " -set colorspace Gray -separate -average /tmp/chm-" + user + ".webp"); - + await sleep(2000); let res2 = await client.uploadContent(fs.readFileSync("../../../assets/uploads/hazy.png")); await axios.put("https://chat.equestria.dev/_matrix/client/r0/rooms/" + encodeURIComponent(require('../../app.json')['matrix']['room']) + "/state/m.room.member/%40raindrops%3Aequestria.dev", { -- cgit