Add discord embed settings to new users
This commit is contained in:
parent
e02cce0e47
commit
51b542a8e9
@ -46,6 +46,13 @@ export async function createUser(username, password) {
|
|||||||
password: hashPassword(salt, password),
|
password: hashPassword(salt, password),
|
||||||
salt: salt,
|
salt: salt,
|
||||||
uploadKey: randomString(16),
|
uploadKey: randomString(16),
|
||||||
|
|
||||||
|
discordEmbed: {
|
||||||
|
embed: true,
|
||||||
|
title: "{id}.{ext}",
|
||||||
|
description: null,
|
||||||
|
color: "0063EB",
|
||||||
|
},
|
||||||
});
|
});
|
||||||
user.save();
|
user.save();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Reference in New Issue
Block a user