Bugfix to missing scopes
This commit is contained in:
parent
29c8c7cab8
commit
73131731ed
@ -209,12 +209,11 @@ class Controller extends EventEmitter
|
|||||||
shardOptions = {},
|
shardOptions = {},
|
||||||
serverOptions = {} as ServerOptions,
|
serverOptions = {} as ServerOptions,
|
||||||
logger = {},
|
logger = {},
|
||||||
discord = {},
|
|
||||||
databases = {}
|
databases = {}
|
||||||
} = this.#_options;
|
} = this.#_options;
|
||||||
return {
|
return {
|
||||||
serverOptions: {
|
serverOptions: {
|
||||||
...serverOptions, logger, discord, databases
|
...serverOptions, logger, databases
|
||||||
},
|
},
|
||||||
...shardOptions,
|
...shardOptions,
|
||||||
env: this.#_options.env,
|
env: this.#_options.env,
|
||||||
|
Loading…
Reference in New Issue
Block a user