diff --git a/src/client/components/wrappers/UserWrapper.ts b/src/client/components/wrappers/UserWrapper.ts index ddac1bd..fcdebfd 100644 --- a/src/client/components/wrappers/UserWrapper.ts +++ b/src/client/components/wrappers/UserWrapper.ts @@ -175,12 +175,12 @@ class UserWrapper get prefix () { - return this.#data?.settings.textcommands.prefix; + return this.#data?.settings?.textcommands.prefix; } get locale () { - return this.#data?.settings.locale.language; + return this.#data?.settings?.locale.language; } }