mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 02:16:23 +00:00
removed more useless things
This commit is contained in:
parent
74d63a2261
commit
435d273da0
1 changed files with 0 additions and 7 deletions
|
@ -17,13 +17,6 @@ interface SettingsProps {
|
||||||
save: () => void;
|
save: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface RpcApp {
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
icon: string;
|
|
||||||
flags: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
function isValidSnowflake(v: string) {
|
function isValidSnowflake(v: string) {
|
||||||
const regex = /^\d{17,20}$/;
|
const regex = /^\d{17,20}$/;
|
||||||
return regex.test(v) && !Number.isNaN(SnowflakeUtils.extractTimestamp(v));
|
return regex.test(v) && !Number.isNaN(SnowflakeUtils.extractTimestamp(v));
|
||||||
|
|
Loading…
Reference in a new issue