Remove webrtc from bundle

This commit is contained in:
Madeline
2022-09-21 14:41:21 +10:00
parent ebbb2653ee
commit f334cd6f0f
6 changed files with 13 additions and 17 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { VoiceOPCodes } from "@fosscord/webrtc";
// import { VoiceOPCodes } from "@fosscord/webrtc";
export enum OPCODES {
Dispatch = 0,
@@ -45,7 +45,7 @@ export enum CLOSECODES {
}
export interface Payload {
op: OPCODES | VoiceOPCodes;
op: OPCODES /* | VoiceOPCodes */;
d?: any;
s?: number;
t?: string;
+2 -2
View File
@@ -1,7 +1,7 @@
import { Intents, Permissions } from "@fosscord/util";
import WS from "ws";
import { Deflate, Inflate } from "fast-zlib";
import { Client } from "@fosscord/webrtc";
// import { Client } from "@fosscord/webrtc";
export interface WebSocket extends WS {
version: number;
@@ -22,5 +22,5 @@ export interface WebSocket extends WS {
events: Record<string, Function>;
member_events: Record<string, Function>;
listen_options: any;
client?: Client;
// client?: Client;
}