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
Image
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
dashboard_url
string
requiredA String with the url to your dashboard
key
string
requiredA String with the secret key from your dashboard