diff --git a/src/schema/Activity.ts b/src/schema/Activity.ts
index 45bd6fef..7b86e78d 100644
--- a/src/schema/Activity.ts
+++ b/src/schema/Activity.ts
@@ -22,7 +22,7 @@ export interface ActivitySchema {
start: number;
end: number;
};
- application_id?: bigint; // application id for the game
+ application_id?: string; // application id for the game
details?: string;
state?: string;
emoji?: EmojiSchema;
diff --git a/src/schema/Emoji.ts b/src/schema/Emoji.ts
index 09f3ebb1..413b8359 100644
--- a/src/schema/Emoji.ts
+++ b/src/schema/Emoji.ts
@@ -1,11 +1,11 @@
export const EmojiSchema = {
name: String, // the name of the emoji
- $id: BigInt, // the id of the emoji
+ $id: String, // the id of the emoji
animated: Boolean, // whether this emoji is animated
};
export interface EmojiSchema {
name: string;
- id?: bigint;
+ id?: string;
animated: Boolean;
}
diff --git a/src/schema/Identify.ts b/src/schema/Identify.ts
index 0c458f14..3e153fbe 100644
--- a/src/schema/Identify.ts
+++ b/src/schema/Identify.ts
@@ -30,7 +30,7 @@ export const IdentifySchema = {
$capabilities: Number,
$client_state: {
$guild_hashes: Object,
- $highest_last_message_id: BigInt,
+ $highest_last_message_id: String,
$read_state_version: Number,
$user_guild_settings_version: Number,
},
@@ -66,7 +66,7 @@ export interface IdentifySchema {
capabilities?: number;
client_state?: {
guild_hashes?: any;
- highest_last_message_id?: bigint;
+ highest_last_message_id?: string;
read_state_version?: number;
user_guild_settings_version?: number;
};
diff --git a/src/util/WebSocket.ts b/src/util/WebSocket.ts
index 4f866ad5..566fc3aa 100644
--- a/src/util/WebSocket.ts
+++ b/src/util/WebSocket.ts
@@ -4,7 +4,7 @@ import { Deflate } from "zlib";
interface WebSocket extends WS {
version: number;
- user_id: bigint;
+ user_id: string;
encoding: "etf" | "json";
compress?: "zlib-stream";
deflate?: Deflate;
|