open-wa / wa-automate-nodejs

💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
https://docs.openwa.dev/
Other
3.14k stars 600 forks source link

Feature Request: Reply with Sticker from Url #804

Closed dandyraka closed 4 years ago

dandyraka commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

Steps to Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

create() code This is the code you use to create the client. e.g

create(...)

Expected behavior A clear and concise description of what you expected to happen.

DEBUG INFO This is the info printed to the console when you start your app. It should look like this

Debug Info {
  WA_VERSION: ...,
  PAGE_UA: ...,
  WA_AUTOMATE_VERSION: ...,
  BROWSER_VERSION: ...
}

Screenshots image

If applicable, add screenshots to help explain your problem. Use headless: false to get screenshots

Host (please complete the following information):

Additional context Add any other context about the problem here.

smashah commented 4 years ago

For future reference, you don't need to use the issue template for feature requests.

dandyraka commented 4 years ago

For future reference, you don't need to use the issue template for feature requests.

Haha ok sorry 😂

smashah commented 4 years ago

@dandyraka dm me on the discord pls

smashah commented 4 years ago

@github-actions run

âš¡ Release! âš¡ ```js (async () => { function exec(cmd) { console.log(execSync(cmd).toString()); } // Config const gitUserEmail = "github-actions[bot]@users.noreply.github.com"; const gitUserName = "github-actions[bot]"; exec(`echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc`); exec(`git config --global user.email "${gitUserEmail}"`); exec(`git config --global user.name "${gitUserName}"`); exec(`npm i`); exec(`npm run release-ci`); //comment on the issue var result = execSync(`npx auto-changelog -o ./tempchangelog.txt --commit-limit false --template ./compact-keepachangelog.hbs --stdout`).toString(); await postComment(result); //create changelog image exec(`npm run release-image`); exec(`git commit -a -m 'updated release-image'`); exec(`git push --force`); })(); ```
smashah commented 4 years ago

Changelog

🚀 Release 2.0.22 (2020-09-11)

smashah commented 4 years ago

https://open-wa.github.io/wa-automate-nodejs/classes/client.html#sendstickerfromurlasreply

dandyraka commented 4 years ago

Hi @smashah , can you add sendImageAsSticker with reply too?