diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-21 22:32:25 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-21 22:32:25 +0200 |
commit | 7a7a49332df7c852abbaa33c7e8e87f93d064d61 (patch) | |
tree | 43daff24ec8ca4667aae9f3847948f868ae20894 /includes/external/matrix/index.js | |
parent | 898a3d5af7d8bc4578786f1099d6fe092573d112 (diff) | |
download | pluralconnect-7a7a49332df7c852abbaa33c7e8e87f93d064d61.tar.gz pluralconnect-7a7a49332df7c852abbaa33c7e8e87f93d064d61.tar.bz2 pluralconnect-7a7a49332df7c852abbaa33c7e8e87f93d064d61.zip |
Updated includes/external/matrix/index.js, added pages/api/evening.php and deleted pages/api/schedule.php (automated)
Diffstat (limited to 'includes/external/matrix/index.js')
-rw-r--r-- | includes/external/matrix/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
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", { |