Skip to content
GitHub

ObserverOptions

interface in meocord/interface Since 4.1.0

interface ObserverOptions

What @Observer takes: the context types the observer is told about.

Members

types

types?: readonly ExecutionContextType[]

The context types the observer is told about, as ExecutionContext.getType() reports them; calls of any other type pass it by. A subclass inherits them unless it declares its own.

Default: every type

See also

  • Observer