Skip to content

TechSupportCentral/website

Folders and files

NameName
Last commit message
Last commit date
Apr 30, 2022
Aug 12, 2023
Aug 11, 2022
Apr 17, 2022
Jul 8, 2024
Sep 27, 2021
Jul 8, 2024
Jul 8, 2024
Aug 11, 2022
Aug 11, 2022
Aug 12, 2023
Aug 12, 2023
Sep 24, 2022
Nov 21, 2021
Aug 12, 2023
Oct 8, 2022
Aug 12, 2023
Aug 12, 2023
Aug 12, 2023

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";
?>