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:
parent
9e9c3ff57f
commit
58c3974e1b
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -248,7 +248,6 @@ export class User extends BaseClass {
|
||||
fingerprints: [],
|
||||
});
|
||||
|
||||
console.log(user);
|
||||
await user.save();
|
||||
|
||||
if (Config.get().guild.autoJoin.enabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user