/api

Primary LanguageJavaScript

api

Setup

Setup your application

Node js

  • 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

What next

Read docs