Giter VIP home page Giter VIP logo

whatsbot's Introduction

WhatsBot

WhatsBot can be attached to any WhatsApp account and it will respond to message containing specific commands.

Example Commands

As an example following two commands has been added. A message is considered as command if it starts with an exclamation mark(!).

echo Command

!echo This is a message

This will echo the given string (This is a message) in reply to the message.

github Command

!github cstayyab WALC

This will return the information of the github repository in reply to the message. Here is a sample reply:

*cstayyab/WALC*
*Description:* A WhatsApp Desktop client for linux systems. This is an unofficial client. Use https://web.whatsapp.com for official web client as official desktop client for linux does not exist.
*Forks:* 5
*Stars:* 19
*License:* GNU General Public License v3.0

Other Usecases

It can be deployed by people who are running a store and want to give users the facility to order a product. The sample commands can be following:

!list 

The "list" commands can list products with the unique identifier that can be used in subsequent commands.

!order P1303 4

The above commands orders the product P1303 and quantity 4.

Contributions

You are welcome to controibute to routines folder. Create a script with a set of commands and functions. You can find an example in routines/github.js file.

whatsbot's People

Contributors

cstayyab avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.