Skip to content
Variablegatewayv0.7.5

IgnoreBots

Drops a client event whose actor is a bot, with a Silence so nothing is replied. Event-only, because a Silence on an interaction would leave Discord's failed-interaction state. It rejects an interaction handler at the decorator line. Takes no options, so attach it directly without calling it.

See also:Gated

const IgnoreBots: import("@seedcord/core").Gate<
    EventGateContext<ValidNonInteractionKeys>,
    "IgnoreBots"
>;