🐛 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": "node scripts/build.js && node dist/bundle/src/start.js",
|
||||||
"start:bundle": "node dist/bundle/src/start.js",
|
"start:bundle": "node dist/bundle/src/start.js",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -65,6 +65,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
|||||||
"guild",
|
"guild",
|
||||||
"guild.channels",
|
"guild.channels",
|
||||||
"guild.emojis",
|
"guild.emojis",
|
||||||
|
"guild.emojis.user",
|
||||||
"guild.roles",
|
"guild.roles",
|
||||||
"guild.stickers",
|
"guild.stickers",
|
||||||
"user",
|
"user",
|
||||||
|
@ -248,7 +248,6 @@ export class User extends BaseClass {
|
|||||||
fingerprints: [],
|
fingerprints: [],
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(user);
|
|
||||||
await user.save();
|
await user.save();
|
||||||
|
|
||||||
if (Config.get().guild.autoJoin.enabled) {
|
if (Config.get().guild.autoJoin.enabled) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user