From 689fe5ec70a6edcc31904518ec2a65afdaddf0fe Mon Sep 17 00:00:00 2001 From: Navy Date: Mon, 30 Sep 2024 20:40:27 +0300 Subject: [PATCH] bugfix --- src/client/components/wrappers/UserWrapper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }