0.2.0 • Published 6 years ago
guibot v0.2.0
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