This code written in djs v12 logs the status of the provided bot id.
New update and improvements are in v13 branch..
To get the source code simply type : git clone https://github.com/iAmGhOsTy/discord-bot-status-logger
or download the code.
To run this project, you will need to add the following environment variables to your .env file (change the name of example.env to .env)
TOKEN
= your bot's discord token
BOTID
= id of the bot to monitor
YOURID
= your id
PREFIX
= desired prefix