1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00

removed more useless things

This commit is contained in:
nin0dev 2024-08-03 08:17:36 -04:00
parent 74d63a2261
commit 435d273da0

View file

@ -17,13 +17,6 @@ interface SettingsProps {
save: () => void;
}
interface RpcApp {
id: string;
name: string;
icon: string;
flags: number;
}
function isValidSnowflake(v: string) {
const regex = /^\d{17,20}$/;
return regex.test(v) && !Number.isNaN(SnowflakeUtils.extractTimestamp(v));