1.0.0 • Published 6 months ago

limechatt.js v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

LimeChatt.js

Make LimeChatt bots in few lines of code!

version downloads license


const {Client} = require('limechatt.js')

const myBot = new Client('Lime')
myBot.connect()

myBot.onConnected(() => {
    console.log('Bot is connected!')
    myBot.send(`Hello! Im ${myBot.name}.\nThis bot is made with LimeChatt.js`)
})

myBot.onMessageReceived((content, author, date) => {
    console.log(`Message Recieved!\nAuthor: ${author}\nContent: ${content}\nDate: ${date}`)
})

INSTALLATION

$ npm install limechatt.js
1.0.0

6 months ago