Partypack/Server/Source/index.ts
2024-02-04 22:28:42 +01:00

23 lines
925 B
TypeScript

import { config } from "dotenv";
config();
import "./Handlers/Database";
import "./Handlers/Server";
import "./Handlers/DiscordBot";
/*
Welcome to Mc's BasedServer template! (v1.1 - 30.12.2023 update)
This is the exact same base I use for projects like Dispriv, Birdnest, GDTS and more.
Here's a quick overview:
- Handlers:
Handlers are the big boys - websockets, servers, anything that has to be constantly running.
Personally, I always import those here in index, like the Server handler.
- Modules:
These are smaller, util classes. A good example of that is the Logger util, which lets you
print to the console with COLORS!
- Routes:
The routes folder houses scripts with a router, some endpoints and other fun stuff!
I recommend familiarizing yourself with all the code before adding anything yourself.
*/