Creates a new builder options manager.
new BuilderOptionsManager(options)
Parameter | Type | Description | Optional |
---|---|---|---|
options | T | The options to use |
Get an option by name.
Parameter | Type | Description | Optional |
---|---|---|---|
key | K | The option name |
The option value
Returns the options.
Merge new data to old data on an option by name.
Parameter | Type | Optional |
---|---|---|
key | K | |
value | Partial<T[K]> |
Set an option by name.
Parameter | Type | Description | Optional |
---|---|---|---|
key | K | The option name | |
value | T[K] | The option value |
Sets the options. This will override the previous options.
Parameter | Type | Description | Optional |
---|---|---|---|
options | T | The options to use |
/docs/canvacord/class/BuilderOptionsManager