kaiserdj / stickerworld Goto Github PK
View Code? Open in Web Editor NEWBot for whatsapp that automatically generates Sticker from the images or videos it receives
License: Apache License 2.0
Bot for whatsapp that automatically generates Sticker from the images or videos it receives
License: Apache License 2.0
Hello, can i exclude the groups from the bot ?
If not, it can be a future enhancement.
Greetings from italy 🧿
[09/07/2021 21:18:34] info: Config Stickerworld: {"lang":"en","cleanTemp":true,"headless":true,"debug":false,"consoleAnimations":true,"cleanSession":true,"workInGroups":true,"activeCommand":true,"customActiveCommand":["!Sticker","!sticker"],"onIncomingCall":true,"maxSizeVideo":20,"notifyRejectionStickerGeneration":true,"notifyUrlNotDetected":false,"options":{"ImgToSticker":true,"ImgUrlToSticker":true,"GifToSticker":true,"VideoToSticker":true,"VideoUrlToSticker":true}}
[09/07/2021 21:18:34] info: Cleaning Temp folder
[09/07/2021 21:18:34] info: Temp folder cleaned
[09/07/2021 21:18:35] info: Version check completed
[09/07/2021 21:18:41] info: Status Session: notLogged
[09/07/2021 21:18:41] info: Session name: session
[09/07/2021 21:18:41] info: Number of attempts to read the qrcode:
[09/07/2021 21:18:45] info: Status Session: qrReadSuccess
[09/07/2021 21:18:45] info: Session name: session
This is the log file
Installed the package and all its dependencies.
Run the script with npm run start
A QR code appears, which is scanned with WhatsApp to link the device.
The console displays ✓ [instance: session]: Connected´
A picture was sent to the number linked. In addition, I sent it with the !Sticker
text, but nothing happened.
Is there something I'm doing wrong?
I need my contact information if the bot has encountered an error people can contact me
as an example;
Hi
Hi too
Cuando quiero darle al npm start me sale este error :
Something went wrong installing the "sharp" module
The specified procedure could not be found.
\?\C:\Users\administrator\sticker\node_modules\sharp\build\Release\sharp.node..
Que puedo hacer? Estoy usando NodeJS 16.13.0 64 BITS
Basically large GIFs and videos are breaking the bot. I'm running in a Linux server that is completely vanilla. I've already tried moving to a new server and resizing the virtual server, but haven't had any luck.
Bot never answer, sometimes breaks in the backend
Bot sends sticker
Error: Evaluation failed: s
at ExecutionContext._evaluateInternal (/root/Stickerworld/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ExecutionContext.evaluate (/root/Stickerworld/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)
@Viniuau Originally reported in issue #39
Operating System and Versión: Ubuntu 18.04
Node Version (node -v): 16.3.0
Stickerworld Version: 2.1.1 running in PM2
I am not able to make stickers with gif, only with photos. What will it be?
which command to make sticker with git / video
info: [session:client] Auto close configured to 60s
Error: Evaluation failed: TypeError: Cannot read property 'default' of undefined
at Object.window.WAPI.window.WAPI.restartService (C:\Users\miteb\OneDrive\Escritorio!!!\Stickerworld-master\node_modules\venom-bot\dist\lib\wapi\wapi.js:1:57963)
at puppeteer_evaluation_script:1:28
at ExecutionContext._evaluateInternal (C:\Users\miteb\OneDrive\Escritorio!!!\Stickerworld-master\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:217:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async ExecutionContext.evaluate (C:\Users\miteb\OneDrive\Escritorio!!!\Stickerworld-master\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:106:16)
(Thanks for reporting an issue! Please make sure you click the link above to view the issue guidelines, then fill out the blanks below.)
npm i
npm start
Unable to load the sleep module (no animations available)
C:\Users\Akash Rajoria\Desktop\Coding\Stickerworld\node_modules\sharp\lib\constructor.js:32
throw new Error(error);
^
Error:
Something went wrong installing the "sharp" module
…
What were you expecting to happen?
The program starts normally.
…
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/BlackGlory/node-fet
ch.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2021-06-02T1
6_33_59_684Z-debug.log
I would like to thank you for the robot I liked it very much
I have a problem, the sticker is accelerating +
Hope you added rights to the sticker and auto responder
And thank you for your great effort
hola, se me queda trabado acá! que puedo ahcer?
Hi
This is working great with images but with videos it is giving an error of unhandled promise.
(node:4340) UnhandledPromiseRejectionWarning: Error: spawn UNKNOWN
at ChildProcess.spawn (internal/child_process.js:403:11)
at spawn (child_process.js:553:9)
at C:\Users\franc\Stickerworld\node_modules\fluent-ffmpeg\lib\ffprobe.js:155:21
at FfmpegCommand.proto._getFfprobePath (C:\Users\franc\Stickerworld\node_modules\fluent-ffmpeg\lib\capabilities.js:144:14)
at FfmpegCommand.proto.ffprobe (C:\Users\franc\Stickerworld\node_modules\fluent-ffmpeg\lib\ffprobe.js:141:10)
at Function.FfmpegCommand.ffprobe (C:\Users\franc\Stickerworld\node_modules\fluent-ffmpeg\lib\fluent-ffmpeg.js:221:20)
at C:\Users\franc\Stickerworld\lib\ffmpeg.js:87:17
at new Promise ()
at Object.ffprobe (C:\Users\franc\Stickerworld\lib\ffmpeg.js:86:12)
at Video. (C:\Users\franc\Stickerworld\lib\video.js:14:42)
(Use node --trace-warnings ... to show where the warning was created)
(node:4340) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:4340) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
so whenever a user sends a sticker in the group, the bot tries to generate a sticker for it.
it doesn't actually create a sticker from a sticker, but just that its bothersome
is there a way to stop it trying to create a sticker from a sticker?
Hello I'm from Brazil.
1 ° I would like to know why the animated figures (gif) are a little accelerated?
2 ° And also, you can put an automatic block system for calls.
Thanks in advance.
P.S .: I really like your work, and I hope you keep bringing us updates.
I started studying programming after seeing your project.
the log:
> [email protected] start /home/macunaima/codes/Stickerworld
> node index
info: [session] Initializing browser wss...
Chrome not found, using chromium
info: [session] Browser successfully opened
info: [session] checking headless...
info: [session] headless option is active, browser hidden
info: [session] Checking page...
info: [session] Page successfully accessed
and after read the QR code:
✓ [instance: session]: Connected
Session started
[0d187518e9756caffd545b2a154dae6c] New group message: group-name, for user: user-number
[0d187518e9756caffd545b2a154dae6c] Url no detected
What is the number for the bot?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.