sring
This commit is contained in:
2
serve.ts
2
serve.ts
@@ -140,7 +140,7 @@ const server = Bun.serve({
|
||||
user = users.filter((user) => user.token === obj.data.token) as user[];
|
||||
if (user && user.length !== 0) {
|
||||
obj.op = OpcodesClientbound.updateMessages;
|
||||
obj.data.id = generator.generateSnowflake();
|
||||
obj.data.id = String(generator.generateSnowflake());
|
||||
obj.data.author = JSON.parse(JSON.stringify(user[0]));
|
||||
obj.data.author.password = null;
|
||||
obj.data.author.token = null;
|
||||
|
||||
Reference in New Issue
Block a user