convert entry files to ts but there are lots of errors

This commit is contained in:
SowinskiBraeden committed 2025-09-29 17:04:12 -07:00
1 parent afcf24115e
commit 77645c75b1
17 files changed
+1555 -983

No files matched your search

+4 -1
View File
@@ -7,7 +7,8 @@ export const enum DevelopmentBranch {
Prod = "PROD.",
};
export const enum Colors {
// switch to const later once removed Colors from config
export enum Colors {
Default = "#8a7c72",
DarkRed = "#ba0f0f",
Red = "#f55c5c",
@@ -25,6 +26,7 @@ export interface Config {
Dev: DevelopmentBranch;
Version: string;
Admins: Array<string>;
Colors: typeof Colors;
SupportServer: string;
Token: string;
SecretKey: string;
@@ -43,6 +45,7 @@ export const config: Config = {
Dev: <DevelopmentBranch>process.env.Dev || DevelopmentBranch.Dev,
Version: version,
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
Colors: Colors, // only here for backwards compatibility with commands/*
SupportServer: "https://discord.gg/KVFJCvvFtK", // Support Server Link
Token: process.env.token || "", //Discord Bot Token
SecretKey: process.env.key || "01234567891",