The official website of Tech Support Central.
If for some reason you want to use this code, here is the setup:
- Install PHP with MongoDB and CURL extensions.
- Install Composer and run
composer install
. - Make a Discord Application (if you have a bot, you can reuse that application).
- Make a webhook in the Discord channel where new staff applications and ban appeals will be sent.
- Make a MongoDB database (to track staff applications and ban appeals) with an "applications" collection.
- 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";
?>