- open Developers portal
- Create application by clicking
create
- copy bot token
- Run
git clone https://github.com/TymianekPL/api.git
in the terminal - Create index.js file
- write code above to index.js
const API = require('./src');
const Client = new API.Client();
Client.Init('TOKEN').then(result => {
console.log(result)
});
- replace 'TOKEN' with your bot token
- inside comments write some code
- test your app