eversonchatapi
v1.0.2--1
Published
Downloads
2
Readme
EversonLixoAPI
Use this api of integrate your application in eversonChat!
Example:
const {Client} = require('.././')
require('dotenv').config()
const client = new Client()
client.events.on('ready',async(user)=>{
console.log(`Logged in ${user.username}!`)
})
client.events.on('message',async(i)=>{
console.log(i.content === '.ping')
if(i.content === '.ping'){
i.send(`${i.author}, pong!`)
}
})
client.login( 'token')