1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 12:42:44 +01:00

🐛 fix Emoji missing in identify

This commit is contained in:
Flam3rboy 2021-10-10 14:31:13 +02:00
parent 9e9c3ff57f
commit 58c3974e1b
3 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
"start": "node scripts/build.js && node dist/bundle/src/start.js",
"start:bundle": "node dist/bundle/src/start.js",
"test": "echo \"Error: no test specified\" && exit 1",
"migrate": "node node_modules/typeorm/cli.js -f ../util/ormconfig.json migration:run"
"migrate": "node --require ts-node/register node_modules/typeorm/cli.js -f ../util/ormconfig.json migration:run"
},
"repository": {
"type": "git",

View File

@ -65,6 +65,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
"guild",
"guild.channels",
"guild.emojis",
"guild.emojis.user",
"guild.roles",
"guild.stickers",
"user",

View File

@ -248,7 +248,6 @@ export class User extends BaseClass {
fingerprints: [],
});
console.log(user);
await user.save();
if (Config.get().guild.autoJoin.enabled) {