Bugfix to missing scopes

This commit is contained in:
Erik 2023-07-14 19:42:36 +03:00
parent 29c8c7cab8
commit 73131731ed
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -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,