diff options
author | megumin <megumin.bakaretsurie@gmail.com> | 2022-12-08 22:53:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 23:53:12 +0100 |
commit | ee24439795df84f2a226d1b915d8037b074436e9 (patch) | |
tree | 157156f973710302295ecd95db10bd3f26970564 /src/utils | |
parent | 022bf17140894144fde5b59b55b5b7210c18eb93 (diff) | |
download | Vencord-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.ts | 1 |
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 { |