Functionseedcordv0.15.0
GuildOnly
Passes inside a guild, else refuses.
Agnostic, so it attaches to any handler kind. Often paired with RequirePermissionsRequirePermissions in an andand.
See also:Gated
GuildOnly(
options?: GateNoticeOptions
): Gate<GateContextBase, "GuildOnly">GuildOnly(
options?: GateNoticeOptions
): Gate<GateContextBase, "GuildOnly">options?
options?: GateNoticeOptionsoptions?: GateNoticeOptionsReword the default refusal with messagemessage, or replace it with noticenotice.