1 files changed, 15 insertions, 0 deletions
diff --git a/src/assets/datastru.ts b/src/assets/datastru.ts
new file mode 100644
index 00000000..038102ec
--- /dev/null
+++ b/src/assets/datastru.ts
@@ -0,0 +1,15 @@
+//* https://discord.com/developers/docs/topics/gateway
+
+import { OPCODES, SEQUENCENUM } from "./codes";
+
+export interface message_prod {
+ op: OPCODES;
+ d: object;
+ s: SEQUENCENUM;
+ t: string;
+}
+
+export interface message_dev {
+ req_type: "new_auth" | "check_auth";
+ token?: string;
+}
|