<<<<<<< HEAD

Sample Viber bot

A simple starting point for creating a Node.js based Viber bot. This bot allows you to test if a website is down for everyone or just you. You can download the completed bot or just follow the tutorial.

Prerequisites

Usage

  • Clone the repository
git clone https://github.com/Viber/sample-bot-isitup myviberbot
cd myviberbot

<<<<<<< HEAD

const bot = new ViberBot(logger, {
    authToken: "Your Public Account access token goes here",
    name: "MyViberBot",
    avatar: "http://example.com/avatar"
});

parent of 6630b87... Add deploy script for the bot

  • Deploy the bot with now CLI. To get started using now, install it from npm
npm install -g now
  • Let's deploy our bot. Run the following command in the cloned repository folder
now

That's it! Now your bot is deployed. Start talking with it in your Viber app. Simply navigate to your Public Account and click on the Message button.

License

See the LICENSE file (MIT).

=======

sample-bot-isitup

parent of ec12b20... initial commit