Theme Config
Log Handler
This is a log handler for your bot. It will collect all the logs from your bot and display them in the dashboard’s admin page.
Dashboard Setup
Place this in your admin config which is located in the theme config and change the key to your own SECURE string.
Example Usage
Bot Setup
Install the NPM package in Bot
Almost done! Place this code into your ready event on the bot.
It should look like this, except with your details:
And we are done! Now just restart your dashboard and bot then the logs collection will begin.
Props
A String with the url to your dashboard
A String with the secret key from your dashboard