0.1.9 • Published 5 months ago

staty-bot v0.1.9

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
5 months ago

staty

Staty is a discord bot that allows you to monitor the status of your APIs regularly and automatically.

Changelog here

Configuration files

For configuration of Staty you must have these files : data/secret.json, data/config.json.

data/secret.json

To create your discord app : Discord Developers

{
    "BOT_TOKEN": YOUR_DISCORD_BOT_TOKEN_ID,
    "BOT_OWNER_ID": YOUR_DISCORD_ID,
    "GUILD_ID": YOUR_DISCORD_SERVER_ID,
    "BOT_ID": YOUR_BOT_USER_ID,
    "MONGODB_URL": URL_OF_YOUR_MONGODB_SERVER,
}

data/config.json

For ROLE_ID_STATE_PING, must be provide the role id for your server role. This role has ping when an api has down or re-up.

For all channels, you must provide the exact channel name.


⚠️

Discord have rate limit of two actions in 10 minutes for bots on update name or description on channel and threads. Your wait time must be >= 300000 ms ! Now Staty check this value since his version 0.1.5.


{
    "options": {
        "wait": WAITING_TIME_IN_MS,
        "color": HEXADECIMAL_CODE,
        "name": "Staty",
    }
}
0.1.9

5 months ago

0.1.8-beta.0.1

6 months ago

0.1.7-beta.0.1

6 months ago

0.1.8

6 months ago

0.1.7

7 months ago

0.1.6

7 months ago

0.1.3

7 months ago