Functioncorev0.1.0-next.5
See also:the @Gated decorator from seedcord
RequireRole(
roleId: string,
options?: RequireRoleOptions
): Gate<GateContextBase, "RequireRole">RequireRole(
roleId: string,
options?: RequireRoleOptions
): Gate<GateContextBase, "RequireRole">roleId
options?
options?: RequireRoleOptionsoptions?: RequireRoleOptionsOverride each refusal, the outside-guild one with notInGuildnotInGuild and the missing-role one with missingRolemissingRole.