0.2.0 • Published 6 years ago

guibot v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Include the files in your index.html:

<link rel="stylesheet" href="guibot.css" />

<script src="guibot.min.js"></script>
var myChat = new guibot.Chat({
  name: 'myChat',
  users: [
    {
      name: 'Robot'
    }, {
      name: 'Me',
      isLocal: true
    }
  ]
});

myChat.say({
  message: 'Hi! I\'m a message from local user',
  userId: myChat.getLocalUser().id
});

Install dependencies, build the source files and preview

git clone https://github.com/Naimikan/guibot.git
npm install
grunt && grunt preview