1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

🐛 fix identify

This commit is contained in:
Flam3rboy 2021-08-07 16:11:28 +02:00
parent 1a2b5caee2
commit 89245e2f35
3 changed files with 2273 additions and 9 deletions

2279
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@
"author": "Fosscord",
"license": "ISC",
"dependencies": {
"@fosscord/server-util": "^1.3.29",
"@fosscord/server-util": "^1.3.38",
"ajv": "^8.5.0",
"dotenv": "^8.2.0",
"jsonwebtoken": "^8.5.1",

View File

@ -97,6 +97,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
username: user.username,
verified: user.verified,
bot: user.bot,
accent_color: user.accent_color || 0,
};
const d: ReadyEventData = {