Variableseedcordv0.14.0
IgnoreBots
Drops a client event whose actor is a bot, with a SilenceSilence 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: Gate<
EventGateContext<ValidNonInteractionKeys>,
"IgnoreBots"
>;const IgnoreBots: Gate<
EventGateContext<ValidNonInteractionKeys>,
"IgnoreBots"
>;