# MatrixBots
🦢 Your Bots our Home - **MatrixBots**

![Image](https://cdn.discordapp.com/attachments/963047690135031839/963054617816617030/MatrixBots-Banner.png)

If you need help you can join our [Discord Server](https:https://discord.gg/sQWnQsu3Js)
 or
you can visit our [Documentation](https://docs.matrixbots.xyz)

# 1. First Steps
## 1.1 Installation
```npm
npm i --save matrixbots
```
## 1.2 Getting Started
```js
const ma_API = require("matrixbots");
const matrixbots = new ma_API("your-bot-api-key");

// Get all likes of the Bot
try {
    await matrixbots.getLikes().then(data => {
        console.log(data);
    })
} catch (e) {
    console.log(e);
}

// Update Bot Stats
try {
    await matrixbots.updateStats(serverCount as number, userCount as number).then(data => {
        console.log(data);
    })
} catch (e) {
    console.log(e);
}

// Get Bot Info
try {
    await matrixbots.getBot("<botid>").then(data => {
        console.log(data);
    })
} catch (e) {
    console.log(e);
}
```
