Skip to content

Commit

Permalink
Merge pull request danielcardeenas#217 from danielcardeenas/develop
Browse files Browse the repository at this point in the history
Release 2.0.0
  • Loading branch information
danielcardeenas authored Apr 4, 2020
2 parents 7c72a27 + b14bc2b commit 8704bc2
Show file tree
Hide file tree
Showing 151 changed files with 8,796 additions and 4,360 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ node_modules
dist
session
assets
app.js
app.js
gohan.jpg
006.png
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
**/*.js
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
// import { create, Whatsapp } from 'sulla';
const sulla = require('sulla');

sulla.create().then(client => start(client));
sulla.create().then((client) => start(client));

function start(client) {
client.onMessage(message => {
client.onMessage((message) => {
if (message.body === 'Hi') {
client.sendText(message.from, '👋 Hello from sulla!');
}
Expand Down
Loading

0 comments on commit 8704bc2

Please sign in to comment.