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 = {},
serverOptions = {} as ServerOptions,
logger = {},
discord = {},
databases = {}
} = this.#_options;
return {
serverOptions: {
...serverOptions, logger, discord, databases
...serverOptions, logger, databases
},
...shardOptions,
env: this.#_options.env,