aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-05-02 02:55:38 +0200
committerGitHub <noreply@github.com>2023-05-02 02:55:38 +0200
commitbc1d8694d4fcaaf9b4b0b744d8e81afc52b0d6f9 (patch)
tree9f56df7433fde877b1f6c70deb77b06e6ba28676 /src/utils
parent7bc1362cbd3323c982dcc8bf10d399e581082d18 (diff)
downloadVencord-bc1d8694d4fcaaf9b4b0b744d8e81afc52b0d6f9.tar.gz
Vencord-bc1d8694d4fcaaf9b4b0b744d8e81afc52b0d6f9.tar.bz2
Vencord-bc1d8694d4fcaaf9b4b0b744d8e81afc52b0d6f9.zip
new plugin: VencordToolbox (#998)
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/types.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/types.ts b/src/utils/types.ts
index c1e54aa..60dc4d4 100644
--- a/src/utils/types.ts
+++ b/src/utils/types.ts
@@ -108,6 +108,11 @@ export interface PluginDef {
flux?: {
[E in FluxEvents]?: (event: any) => void;
};
+ /**
+ * Allows you to add custom actions to the Vencord Toolbox.
+ * The key will be used as text for the button
+ */
+ toolboxActions?: Record<string, () => void>;
tags?: string[];
}