A module for Aitu.io's service API, heavily inspired by negezor/vk-io and nitreojs/puregram.
Recommended
yarn add aitu
npm i aitu
const { Aitu } = require('aitu')
const aitu = new Aitu({
// Token received from @MasterService
token: ''
})
aitu.updates.on('Message', async context => {
const { name } = await aitu.api.getMe()
context.send(`Hello! My name is ${name}`)
})
aitu.updates.startPolling()