new plugin: VencordToolbox (#998)

This commit is contained in:
V 2023-05-02 02:55:38 +02:00 committed by GitHub
parent 7bc1362cbd
commit bc1d8694d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 244 additions and 32 deletions

View file

@ -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[];
}