moonbots.js
v1.1.2
Published
Простой враппер для использования API Moonbots
Downloads
5
Maintainers
Readme
moonbots.js
Простой враппер для использования API Moonbots.
Установка
$ npm install moonbots.js
Инициализация
let apiKey = "СуперСекретныйАПИключ";
// API ключ можно получить на странице редактирования вашего бота
const moonbotsjs = require("moonbots.js");
const moonbots = new moonbotsjs(apiKey);
Примеры кода
// Установить автопубликацию статистики к нам на API
moonbots.setAutoPost(client);
// Получение информации о боте по ID
moonbots.getInfo('840235736993366037')