diff --git a/src/gateway/mod.ts b/src/gateway/mod.ts index 143d527c..9837ef33 100644 --- a/src/gateway/mod.ts +++ b/src/gateway/mod.ts @@ -342,9 +342,9 @@ export class Gateway extends HarmonyEventEmitter { const payload: IdentityPayload = { token: this.client.token, properties: { - $os: this.client.clientProperties.os ?? Deno.build.os, - $browser: this.client.clientProperties.browser ?? 'harmony', - $device: this.client.clientProperties.device ?? 'harmony' + os: this.client.clientProperties.os ?? Deno.build.os, + browser: this.client.clientProperties.browser ?? 'harmony', + device: this.client.clientProperties.device ?? 'harmony' }, compress: this.client.compress, shard: diff --git a/src/types/gateway.ts b/src/types/gateway.ts index 732b4cba..4c1facf1 100644 --- a/src/types/gateway.ts +++ b/src/types/gateway.ts @@ -138,11 +138,11 @@ export interface IdentityPayload { } export interface IdentityConnection { - $os: 'darwin' | 'windows' | 'linux' | 'custom os' | string - $browser: 'harmony' | 'Firefox' | string - $device: 'harmony' | string - $referrer?: '' | string - $referring_domain?: '' | string + os: 'darwin' | 'windows' | 'linux' | 'custom os' | string + browser: 'harmony' | 'Firefox' | string + device: 'harmony' | string + referrer?: '' | string + referring_domain?: '' | string } export interface Resume {