From e15eaf38b0bf99a01a7e62a918d85aced95fce74 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Sat, 21 Jun 2025 17:47:06 +0200 Subject: [PATCH] Don't escape parenthesis --- commands/misc/tdoss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/misc/tdoss.js b/commands/misc/tdoss.js index e083116..f5430fe 100644 --- a/commands/misc/tdoss.js +++ b/commands/misc/tdoss.js @@ -60,7 +60,7 @@ module.exports = { } - const commandArgs = [tdossTemplate, "\\(", `${directory}/input.png`, "-resize", "800x800^", "-gravity", "center", "-extent", "1000x1000", "\\)", "-compose", "dst-over", "-composite", `${directory}/tdoss_result.png`] + const commandArgs = [tdossTemplate, "(", `${directory}/input.png`, "-resize", "800x800^", "-gravity", "center", "-extent", "1000x1000", ")", "-compose", "dst-over", "-composite", `${directory}/tdoss_result.png`] if (executeCommand("magick", commandArgs).error === true) { message.channel.send("Something went wrong during image manipulation.\nTry again and if it keeps happening, contact the owner of the bot.") fs.rmSync(`${directory}`, {recursive: true})