Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventOptions

The piece options for all Event instances.

Hierarchy

Index

Properties

Optional emitter

emitter: EventEmitter | keyof Client

The emitter this event should be for (string indicates a client property).

Optional enabled

enabled: undefined | false | true

Whether or not this piece should be enabled. Defaults to true.

Optional event

event: undefined | string

The event that should be listened to.

Optional name

name: undefined | string

The name of the piece. Defaults to the filename without extension.

Optional once

once: undefined | false | true

Whether or not this event should only be run once and then unloaded

Generated using TypeDoc