summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bundle/package.json2
-rw-r--r--gateway/src/opcodes/Identify.ts1
-rw-r--r--util/src/entities/User.ts1
3 files changed, 2 insertions, 2 deletions
diff --git a/bundle/package.json b/bundle/package.json
index 3d41f7c2..eedbdd8c 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -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",
diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts
index 16ea1904..5950105a 100644
--- a/gateway/src/opcodes/Identify.ts
+++ b/gateway/src/opcodes/Identify.ts
@@ -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",
diff --git a/util/src/entities/User.ts b/util/src/entities/User.ts
index 662ab031..04f1e9cb 100644
--- a/util/src/entities/User.ts
+++ b/util/src/entities/User.ts
@@ -248,7 +248,6 @@ export class User extends BaseClass {
 			fingerprints: [],
 		});
 
-		console.log(user);
 		await user.save();
 
 		if (Config.get().guild.autoJoin.enabled) {