diff --git a/backend/src/plugins/SelfGrantableRoles/SelfGrantableRolesPlugin.ts b/backend/src/plugins/SelfGrantableRoles/SelfGrantableRolesPlugin.ts index 09c1d796..1482bde1 100644 --- a/backend/src/plugins/SelfGrantableRoles/SelfGrantableRolesPlugin.ts +++ b/backend/src/plugins/SelfGrantableRoles/SelfGrantableRolesPlugin.ts @@ -1,4 +1,4 @@ -import { PluginOptions } from "knub"; +import { CooldownManager, PluginOptions } from "knub"; import { SelfGrantableRolesPluginType, ConfigSchema, defaultSelfGrantableRoleEntry } from "./types"; import { zeppelinPlugin } from "../ZeppelinPluginBlueprint"; import { trimPluginDescription } from "src/utils"; @@ -91,5 +91,9 @@ export const SelfGrantableRolesPlugin = zeppelinPlugin = export interface SelfGrantableRolesPluginType extends BasePluginType { config: TConfigSchema; + state: { + cooldowns: CooldownManager; + }; } export const selfGrantableRolesCmd = command();