From 51b542a8e9d786b2723ed3ecf7f1b6390d79c1d3 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 17 Nov 2022 11:25:47 +0000 Subject: [PATCH] Add discord embed settings to new users --- src/utils/helpers/userHelpers.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/utils/helpers/userHelpers.js b/src/utils/helpers/userHelpers.js index 5292647..43ed58b 100644 --- a/src/utils/helpers/userHelpers.js +++ b/src/utils/helpers/userHelpers.js @@ -46,6 +46,13 @@ export async function createUser(username, password) { password: hashPassword(salt, password), salt: salt, uploadKey: randomString(16), + + discordEmbed: { + embed: true, + title: "{id}.{ext}", + description: null, + color: "0063EB", + }, }); user.save(); } catch (e) {