mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 13:43:03 -04:00
Suncord EOL
This commit is contained in:
parent
0c97ef7e44
commit
f2404df3af
9 changed files with 7 additions and 202 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
import { Clipboard, Toasts } from "@webpack/common";
|
||||
|
||||
import { EquicordDevsById, SuncordDevsById, VencordDevsById } from "./constants";
|
||||
import { EquicordDevsById, VencordDevsById } from "./constants";
|
||||
|
||||
/**
|
||||
* Calls .join(" ") on the arguments
|
||||
|
@ -96,7 +96,6 @@ export const isMobile = navigator.userAgent.includes("Mobi");
|
|||
|
||||
export const isPluginDev = (id: string) => Object.hasOwn(VencordDevsById, id);
|
||||
export const isEquicordPluginDev = (id: string) => Object.hasOwn(EquicordDevsById, id);
|
||||
export const isSuncordPluginDev = (id: string) => Object.hasOwn(SuncordDevsById, id);
|
||||
|
||||
export function pluralise(amount: number, singular: string, plural = singular + "s") {
|
||||
return amount === 1 ? `${amount} ${singular}` : `${amount} ${plural}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue