From d5c2bf3781af79ef09733666d011008cf5a1e1d0 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 10 Jul 2024 00:22:21 +0300 Subject: [PATCH] Init slash commands earlier --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 7fb8cb414..aa6e5f16b 100644 --- a/public/script.js +++ b/public/script.js @@ -908,13 +908,13 @@ async function firstLoadInit() { await getClientVersion(); await readSecretState(); initLocales(); + initDefaultSlashCommands(); await getSystemMessages(); sendSystemMessage(system_message_types.WELCOME); await getSettings(); initKeyboard(); initDynamicStyles(); initTags(); - initDefaultSlashCommands(); await getUserAvatars(true, user_avatar); await getCharacters(); await getBackgrounds();