Packages@robojs/discordjs
EventConfig
Interface: EventConfig
Event configuration options.
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
__auto? | true | Internal: auto-generated handler marker | BaseConfig.__auto |
__module? | string | Internal: module name | BaseConfig.__module |
__path? | string | Internal: file path | BaseConfig.__path |
__plugin? | { name: string; path: string; } | Internal: plugin info | BaseConfig.__plugin |
__plugin.name | string | - | - |
__plugin.path | string | - | - |
description? | string | Handler description | BaseConfig.description |
disabled? | boolean | Whether the handler is disabled | BaseConfig.disabled |
frequency? | "always" | "once" | Event frequency: - 'always': Handler runs on every event (default) - 'once': Handler runs only on first occurrence | - |
priority? | number | Execution priority (lower runs first). Default is 0. | - |
serverOnly? | string | string[] | Restrict to specific server IDs | BaseConfig.serverOnly |
timeout? | number | Execution timeout in milliseconds | BaseConfig.timeout |
