From 3a9142485f2e6b5a112cb638c3c833ebe36e5ab1 Mon Sep 17 00:00:00 2001
From: loicbersier <loic.bersier1@gmail.com>
Date: Thu, 10 Oct 2019 01:36:04 +0200
Subject: [PATCH] remove.bg command ( its actually paid api so won't be used )

---
 commands/utility/{removebg.js => removebg} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename commands/utility/{removebg.js => removebg} (93%)

diff --git a/commands/utility/removebg.js b/commands/utility/removebg
similarity index 93%
rename from commands/utility/removebg.js
rename to commands/utility/removebg
index 068819f..745f739 100644
--- a/commands/utility/removebg.js
+++ b/commands/utility/removebg
@@ -28,7 +28,7 @@ class removebgCommand extends Command {
 		if (Attachment[0] && !args.image) {
 			url = Attachment[0].url;
 		}
-		const outputFile = `${os.tmpdir()}/rempvebg.png`;
+		const outputFile = `${os.tmpdir()}/${message.id}_removebg.png`;
 		const done = await removd.url({
 			apikey: removebgAPI,
 			destination: outputFile,