Packages@robojs/discordjs
MiddlewareConfig
Interface: MiddlewareConfig
Middleware 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 |
enabled? | boolean | Whether middleware is enabled | - |
order? | number | Execution order (lower runs first) | - |
serverOnly? | string | string[] | Restrict to specific server IDs | BaseConfig.serverOnly |
timeout? | number | Execution timeout in milliseconds | BaseConfig.timeout |
