Home

Awesome

TSCord Dashboard

This Next.js web dashboard application will take the management of your bots created with the TSCord bot template to another level!

Features

Configuration

Before anything else, head over to your bot config and enable the API server.

  1. Copy the .env.example
  2. Fill in all the information 2bis. You can find your bot's secret in your Discord Developer Portal
  3. Rename the file .env
  4. Go to the src/core/config/bots.ts file
  5. Fill in your bot info (here is a sample)
        {
            id: '943804890143133736',
            name: 'TSCord',
            iconUrl: 'https://cdn.discordapp.com/avatars/943804890143133736/c08ad02818b89d43210a232094b32215.webp',
            apiUrl: process.env['TSCORD_API_URL']!,
            apiToken: process.env['TSCORD_API_TOKEN']!,
            secret: process.env['TSCORD_SECRET']!
        }
    
    5bis. As you may have noticed, the bots config is an array, so you can setup multiple bots!
  6. Run npm run build
  7. Then, run npm run start