Skip to content

TechSupportCentral/website

Repository files navigation

TSC's Website

The official website of Tech Support Central.

Usage

If for some reason you want to use this code, here is the setup:

  1. Install PHP with MongoDB and CURL extensions.
  2. Install Composer and run composer install.
  3. Make a Discord Application (if you have a bot, you can reuse that application).
  4. Make a webhook in the Discord channel where new staff applications and ban appeals will be sent.
  5. Make a MongoDB database (to track staff applications and ban appeals) with an "applications" collection.
  6. Enter the appropriate values in config.php.

config.php:

<?php
require_once 'vendor/autoload.php'; // Load MongoDB PHP library

$client_id   = "Client ID from the application";
$secret_id   = "Client Secret from the application";
$webhook_url = "URL from the webhook";
$mongo_db    = "MongoDB database name";
$mongo_uri   = "MongoDB connection URI";
?>