Vencord/src/utils/constants.ts

388 lines
8.3 KiB
TypeScript
Raw Normal View History

2022-10-21 23:17:06 +00:00
/*
* Vencord, a modification for Discord's desktop app
* Copyright (c) 2022 Vendicated and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import gitHash from "~git-hash";
import gitRemote from "~git-remote";
2023-05-05 23:36:00 +00:00
export {
gitHash,
gitRemote
};
2022-08-29 00:25:27 +00:00
export const WEBPACK_CHUNK = "webpackChunkdiscord_app";
2022-09-16 20:59:34 +00:00
export const REACT_GLOBAL = "Vencord.Webpack.Common.React";
export const VENCORD_USER_AGENT = `Vencord/${gitHash}${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`;
2023-02-28 01:40:45 +00:00
export const SUPPORT_CHANNEL_ID = "1026515880080842772";
2022-10-01 00:27:28 +00:00
2023-05-22 23:55:39 +00:00
export interface Dev {
name: string;
id: bigint;
badge?: boolean;
}
/**
* If you made a plugin or substantial contribution, add yourself here.
* This object is used for the plugin author list, as well as to add a contributor badge to your profile.
* If you wish to stay fully anonymous, feel free to set ID to 0n.
* If you are fine with attribution but don't want the badge, add badge: false
*/
2022-12-22 17:04:37 +00:00
export const Devs = /* #__PURE__*/ Object.freeze({
2022-10-01 00:27:28 +00:00
Ven: {
name: "Vendicated",
id: 343383572805058560n
},
Arjix: {
name: "ArjixWasTaken",
id: 674710789138939916n
},
Cyn: {
name: "Cynosphere",
id: 150745989836308480n
},
Megu: {
name: "Megumin",
id: 545581357812678656n
2022-10-01 02:23:41 +00:00
},
botato: {
name: "botato",
id: 440990343899643943n
},
obscurity: {
name: "obscurity",
id: 336678828233588736n,
2022-10-04 00:36:02 +00:00
},
rushii: {
name: "rushii",
id: 295190422244950017n
},
Glitch: {
name: "Glitchy",
id: 269567451199569920n
},
Samu: {
name: "Samu",
id: 702973430449832038n,
},
Animal: {
name: "Animal",
id: 118437263754395652n
},
MaiKokain: {
name: "Mai",
id: 722647978577363026n
2022-10-16 21:25:27 +00:00
},
echo: {
name: "ECHO",
id: 712639419785412668n
},
katlyn: {
name: "katlyn",
id: 250322741406859265n
},
nea: {
name: "nea",
id: 310702108997320705n,
},
Nuckyz: {
name: "Nuckyz",
id: 235834946571337729n
},
D3SOX: {
name: "D3SOX",
id: 201052085641281538n
},
Nickyux: {
name: "Nickyux",
id: 427146305651998721n
2022-11-11 22:50:09 +00:00
},
mantikafasi: {
name: "mantikafasi",
id: 287555395151593473n
},
2022-11-11 22:50:09 +00:00
Xinto: {
name: "Xinto",
id: 423915768191647755n
},
JacobTm: {
name: "Jacob.Tm",
id: 302872992097107991n
},
DustyAngel47: {
name: "DustyAngel47",
id: 714583473804935238n
},
BanTheNons: {
name: "BanTheNons",
id: 460478012794863637n
},
BigDuck: {
name: "BigDuck",
id: 1024588272623681609n
},
AverageReactEnjoyer: {
name: "Average React Enjoyer",
id: 1004904120056029256n
},
adryd: {
name: "adryd",
id: 0n
},
Tyman: {
name: "Tyman",
id: 487443883127472129n
},
afn: {
name: "afn",
id: 420043923822608384n
},
KraXen72: {
name: "KraXen72",
id: 379304073515499530n
},
kemo: {
name: "kemo",
id: 299693897859465228n
},
dzshn: {
name: "dzshn",
id: 310449948011528192n
},
Ducko: {
name: "Ducko",
id: 506482395269169153n
2022-11-23 13:30:59 +00:00
},
jewdev: {
name: "jewdev",
id: 222369866529636353n
},
Luna: {
name: "Luny",
id: 821472922140803112n
},
Vap: {
name: "Vap0r1ze",
id: 454072114492866560n
},
KingFish: {
name: "King Fish",
id: 499400512559382538n
},
2022-12-03 22:42:18 +00:00
Commandtechno: {
name: "Commandtechno",
id: 296776625432035328n,
},
TheSun: {
name: "ActuallyTheSun",
id: 406028027768733696n
},
axyie: {
name: "'ax",
id: 273562710745284628n,
},
2022-12-22 16:42:54 +00:00
pointy: {
name: "pointy",
id: 99914384989519872n
},
SammCheese: {
name: "Samm-Cheese",
id: 372148345894076416n
},
zt: {
name: "zt",
id: 289556910426816513n
},
captain: {
name: "Captain",
id: 347366054806159360n
},
nick: {
name: "nick",
2023-05-22 23:55:39 +00:00
id: 347884694408265729n,
badge: false
},
whqwert: {
name: "whqwert",
id: 586239091520176128n
2023-02-16 00:46:14 +00:00
},
lewisakura: {
name: "lewisakura",
id: 96269247411400704n
2023-02-28 22:13:49 +00:00
},
RuiNtD: {
name: "RuiNtD",
id: 157917665162297344n
},
hunt: {
name: "hunt-g",
id: 222800179697287168n
},
2023-02-28 22:13:49 +00:00
cloudburst: {
name: "cloudburst",
id: 892128204150685769n
},
Aria: {
name: "Syncxv",
id: 549244932213309442n,
},
TheKodeToad: {
name: "TheKodeToad",
id: 706152404072267788n
},
LordElias: {
name: "LordElias",
id: 319460781567639554n
},
juby: {
name: "Juby210",
id: 324622488644616195n
},
2023-04-02 14:12:19 +00:00
Alyxia: {
name: "Alyxia Sother",
id: 952185386350829688n
},
Remty: {
name: "Remty",
id: 335055032204656642n
},
skyevg: {
name: "skyevg",
id: 1090310844283363348n
},
Dziurwa: {
name: "Dziurwa",
2023-07-13 23:12:07 +00:00
id: 1034579679526526976n
},
AutumnVN: {
name: "AutumnVN",
id: 393694671383166998n
},
pylix: {
name: "pylix",
id: 492949202121261067n
2023-04-15 00:26:46 +00:00
},
Tyler: {
name: "\\\\GGTyler\\\\",
id: 143117463788191746n
},
RyanCaoDev: {
name: "RyanCaoDev",
id: 952235800110694471n,
},
2023-04-15 00:26:46 +00:00
Strencher: {
name: "Strencher",
id: 415849376598982656n
},
FieryFlames: {
name: "Fiery",
id: 890228870559698955n
},
KannaDev: {
name: "Kanna",
id: 317728561106518019n
},
carince: {
name: "carince",
id: 818323528755314698n
},
PandaNinjas: {
name: "PandaNinjas",
id: 455128749071925248n
},
CatNoir: {
name: "CatNoir",
id: 260371016348336128n
},
outfoxxed: {
name: "outfoxxed",
id: 837425748435796060n
},
UwUDev: {
name: "UwU",
id: 691413039156690994n,
},
amia: {
name: "amia",
id: 142007603549962240n
},
phil: {
name: "phil",
id: 305288513941667851n
},
ImLvna: {
name: "Luna <3",
id: 174200708818665472n
},
rad: {
name: "rad",
2023-07-13 23:12:07 +00:00
id: 610945092504780823n
},
AndrewDLO: {
name: "Andrew-DLO",
id: 434135504792059917n
},
HypedDomi: {
name: "HypedDomi",
id: 354191516979429376n
},
Rini: {
name: "Rini",
id: 1079479184478441643n
},
castdrian: {
name: "castdrian",
id: 224617799434108928n
},
Arrow: {
name: "arrow",
id: 958158495302176778n
},
bb010g: {
name: "bb010g",
id: 72791153467990016n,
},
Lumap: {
name: "lumap",
id: 635383782576357407n
},
Dolfies: {
name: "Dolfies",
id: 852892297661906993n,
},
RuukuLada: {
name: "RuukuLada",
id: 119705748346241027n,
},
blahajZip: {
name: "blahaj.zip",
id: 683954422241427471n,
},
archeruwu: {
name: "archer_uwu",
id: 160068695383736320n
}
2023-05-22 23:55:39 +00:00
} satisfies Record<string, Dev>);
// iife so #__PURE__ works correctly
export const DevsById = /* #__PURE__*/ (() =>
Object.freeze(Object.fromEntries(
Object.entries(Devs)
.filter(d => d[1].id !== 0n)
.map(([_, v]) => [v.id, v] as const)
))
)() as Record<string, Dev>;