forked from Supositware/Haha-Yes
remove.bg command ( its actually paid api so won't be used )
This commit is contained in:
parent
188aff48d3
commit
3a9142485f
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class removebgCommand extends Command {
|
||||||
if (Attachment[0] && !args.image) {
|
if (Attachment[0] && !args.image) {
|
||||||
url = Attachment[0].url;
|
url = Attachment[0].url;
|
||||||
}
|
}
|
||||||
const outputFile = `${os.tmpdir()}/rempvebg.png`;
|
const outputFile = `${os.tmpdir()}/${message.id}_removebg.png`;
|
||||||
const done = await removd.url({
|
const done = await removd.url({
|
||||||
apikey: removebgAPI,
|
apikey: removebgAPI,
|
||||||
destination: outputFile,
|
destination: outputFile,
|
Loading…
Reference in a new issue