Interface: Config
Properties
autoRegisterCommands?
optional autoRegisterCommands: boolean;
Controls whether commands are automatically registered during build.
When set to false, commands will not be registered unless the registerSlashCommands() API is called explicitly.
Defaults to true for backward compatibility.
Can be overridden using the --no-register CLI flag.
clientOptions?
optional clientOptions: ClientOptions;
defaults?
optional defaults: object;
| Name | Type |
|---|---|
contexts? | any[] |
defaultMemberPermissions? | string | number | bigint |
dev? | boolean |
help? | boolean |
integrationTypes? | any[] |
excludePaths?
optional excludePaths: string[];
experimental?
optional experimental: object;
| Name | Type | Description |
|---|---|---|
buildDirectory? | string | - |
disableBot? | boolean | - |
incrementalBuilds? | boolean | - |
shard? | any | - |
userInstall? | boolean | Deprecated Use integrationTypes in command config instead |
flashcore?
optional flashcore: object;
| Name | Type | Description |
|---|---|---|
keyv? | unknown | - |
namespaceSeparator? | string | Separator placed between namespace and key when composing Flashcore keys. Defaults to "/". |
invite?
optional invite: object;
| Name | Type |
|---|---|
autoPermissions? | boolean |
permissions? | number | PermissionsString[] |
scopes? | Scope[] |
logger?
optional logger: object;
| Name | Type |
|---|---|
drain? | LogDrain |
enabled? | boolean |
level? | LogLevel |
plugins?
optional plugins: Plugin[];
roboplay?
optional roboplay: object;
| Name | Type |
|---|---|
node? | "18" | "20" | "latest" |
sage?
optional sage: false | SageOptions;
seed?
optional seed: SeedHookConfig;
Configure seed helpers that generate starter files and environment values.
timeouts?
optional timeouts: object;
| Name | Type |
|---|---|
autocomplete? | number |
commandDeferral? | number |
commandRegistration? | number |
lifecycle? | number |
type?
optional type: "plugin" | "robo";
updateCheckInterval?
optional updateCheckInterval: number;
How often to check for updates to Robo.js in seconds. Default: 1 hour
watcher?
optional watcher: object;
| Name | Type |
|---|---|
ignore? | string[] |