Vencord/src/utils/constants.ts

428 lines
9.1 KiB
TypeScript
Raw Normal View History

2022-10-21 19:17:06 -04: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 19:36:00 -04:00
export {
gitHash,
gitRemote
};
2022-08-28 20:25:27 -04:00
export const WEBPACK_CHUNK = "webpackChunkdiscord_app";
2022-09-16 16:59:34 -04:00
export const REACT_GLOBAL = "Vencord.Webpack.Common.React";
export const VENCORD_USER_AGENT = `Vencord/${gitHash}${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`;
2023-02-27 20:40:45 -05:00
export const SUPPORT_CHANNEL_ID = "1026515880080842772";
2022-09-30 20:27:28 -04:00
2023-05-22 19:55:39 -04: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 12:04:37 -05:00
export const Devs = /* #__PURE__*/ Object.freeze({
2024-02-02 20:11:59 -05:00
Nobody: {
name: "Nobody",
id: 0n,
},
2022-09-30 20:27:28 -04:00
Ven: {
name: "Vendicated",
id: 343383572805058560n
},
Arjix: {
name: "ArjixWasTaken",
id: 674710789138939916n
},
Cyn: {
name: "Cynosphere",
id: 150745989836308480n
},
Megu: {
name: "Megumin",
id: 545581357812678656n
2022-09-30 22:23:41 -04:00
},
botato: {
name: "botato",
id: 440990343899643943n
},
obscurity: {
name: "obscurity",
id: 336678828233588736n,
2022-10-03 20:36:02 -04:00
},
rushii: {
name: "rushii",
id: 295190422244950017n
},
Glitch: {
name: "Glitchy",
id: 269567451199569920n
},
Samu: {
name: "Samu",
id: 702973430449832038n,
},
Nyako: {
name: "nyako",
id: 118437263754395652n
},
MaiKokain: {
name: "Mai",
id: 722647978577363026n
2022-10-16 17:25:27 -04: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 17:50:09 -05:00
},
mantikafasi: {
name: "mantikafasi",
id: 287555395151593473n
},
2022-11-11 17:50:09 -05: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 08:30:59 -05: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 17:42:18 -05:00
Commandtechno: {
name: "Commandtechno",
id: 296776625432035328n,
},
TheSun: {
name: "ActuallyTheSun",
id: 406028027768733696n
},
axyie: {
name: "'ax",
id: 273562710745284628n,
},
2022-12-22 11:42:54 -05: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 19:55:39 -04:00
id: 347884694408265729n,
badge: false
},
whqwert: {
name: "whqwert",
id: 586239091520176128n
2023-02-15 19:46:14 -05:00
},
lewisakura: {
name: "lewisakura",
id: 96269247411400704n
2023-02-28 17:13:49 -05:00
},
RuiNtD: {
name: "RuiNtD",
id: 157917665162297344n
},
hunt: {
name: "hunt-g",
id: 222800179697287168n
},
2023-02-28 17:13:49 -05: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 10:12:19 -04:00
Alyxia: {
name: "Alyxia Sother",
id: 952185386350829688n
},
Remty: {
name: "Remty",
id: 335055032204656642n
},
skyevg: {
name: "skyevg",
id: 1090310844283363348n
},
Dziurwa: {
name: "Dziurwa",
id: 1001086404203389018n
},
2023-11-21 14:30:29 -05:00
F53: {
name: "F53",
id: 280411966126948353n
},
AutumnVN: {
name: "AutumnVN",
id: 393694671383166998n
},
pylix: {
name: "pylix",
id: 492949202121261067n
2023-04-14 20:26:46 -04:00
},
Tyler: {
name: "\\\\GGTyler\\\\",
id: 143117463788191746n
},
RyanCaoDev: {
name: "RyanCaoDev",
id: 952235800110694471n,
},
2023-04-14 20:26:46 -04: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: 799319081723232267n
},
rad: {
name: "rad",
2023-07-13 19:12:07 -04: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,
},
Dolfies: {
name: "Dolfies",
id: 852892297661906993n,
},
RuukuLada: {
name: "RuukuLada",
id: 119705748346241027n,
},
blahajZip: {
name: "blahaj.zip",
id: 683954422241427471n,
},
archeruwu: {
name: "archer_uwu",
id: 160068695383736320n
},
ProffDea: {
name: "ProffDea",
id: 609329952180928513n
},
ant0n: {
name: "ant0n",
id: 145224646868860928n
},
philipbry: {
name: "philipbry",
id: 554994003318276106n
},
Korbo: {
name: "Korbo",
id: 455856406420258827n
},
maisymoe: {
name: "maisy",
id: 257109471589957632n,
},
Mopi: {
name: "Mopi",
id: 1022189106614243350n
},
Grzesiek11: {
name: "Grzesiek11",
id: 368475654662127616n,
},
Samwich: {
name: "Samwich",
id: 976176454511509554n,
},
coolelectronics: {
name: "coolelectronics",
id: 696392247205298207n,
}
2023-05-22 19:55:39 -04: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>;