aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authormegumin <megumin.bakaretsurie@gmail.com>2022-12-08 22:53:12 +0000
committerGitHub <noreply@github.com>2022-12-08 23:53:12 +0100
commitee24439795df84f2a226d1b915d8037b074436e9 (patch)
tree157156f973710302295ecd95db10bd3f26970564 /src/utils
parent022bf17140894144fde5b59b55b5b7210c18eb93 (diff)
downloadVencord-ee24439795df84f2a226d1b915d8037b074436e9.tar.gz
Vencord-ee24439795df84f2a226d1b915d8037b074436e9.tar.bz2
Vencord-ee24439795df84f2a226d1b915d8037b074436e9.zip
feat(plugin): sort friend requests by date received (#280)
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/types.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/types.ts b/src/utils/types.ts
index 4e230fe..fd8f02b 100644
--- a/src/utils/types.ts
+++ b/src/utils/types.ts
@@ -27,6 +27,7 @@ export default function definePlugin<P extends PluginDef>(p: P & Record<string,
export interface PatchReplacement {
match: string | RegExp;
replace: string | ((match: string, ...groups: string[]) => string);
+ predicate?(): boolean;
}
export interface Patch {