Functionseedcordv0.13.0
See also:Gated
RequireRole(
roleId: string,
options?: RequireRoleOptions
): Gate<InteractionGateContext<NonModalInteraction>, "RequireRole">RequireRole(
roleId: string,
options?: RequireRoleOptions
): Gate<InteractionGateContext<NonModalInteraction>, "RequireRole">roleId
options?
options?: RequireRoleOptionsoptions?: RequireRoleOptionsOverride each refusal, the outside-guild one with notInGuildnotInGuild and the missing-role one with missingRolemissingRole.