🐛 fix prune

This commit is contained in:
Flam3rboy
2021-10-15 00:35:18 +02:00
parent 85592a980e
commit b844b6b39c
3 changed files with 35 additions and 28 deletions
+2 -3
View File
@@ -84,8 +84,8 @@ export class Member extends BaseClassWithoutId {
@Column({ type: "simple-json" })
settings: UserGuildSettings;
@Column()
last_message_id: string;
@Column({ nullable: true })
last_message_id?: string;
// TODO: update
// @Column({ type: "simple-json" })
@@ -233,7 +233,6 @@ export class Member extends BaseClassWithoutId {
deaf: false,
mute: false,
pending: false,
last_message_id: "",
};
await Promise.all([
+1 -1
View File
@@ -84,7 +84,7 @@ export class Snowflake {
}
static generate() {
var time = BigInt(Date.now() - Snowflake.EPOCH) << 22n;
var time = BigInt(Date.now() - Snowflake.EPOCH) << BigInt(22);
var worker = Snowflake.workerId << 17n;
var process = Snowflake.processId << 12n;
var increment = Snowflake.INCREMENT++;