🐛 fix import

This commit is contained in:
Flam3rboy 2021-10-09 01:53:47 +02:00
parent 509b2c3b71
commit d9e37e5e19
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,5 @@
import { WebSocket, Payload, Send } from "@fosscord/gateway";
import { WebSocket, Payload } from "@fosscord/gateway";
import { Send } from "../util/Send";
export async function onResume(this: WebSocket, data: Payload) {
console.log("Got Resume -> cancel not implemented");

View File

@ -1,5 +1,6 @@
import { VoiceStateUpdateSchema } from "../schema/VoiceStateUpdateSchema";
import { Payload, WebSocket, genVoiceToken } from "@fosscord/gateway";
import { Payload, WebSocket } from "@fosscord/gateway";
import { genVoiceToken } from "../util/SessionUtils";
import { check } from "./instanceOf";
import {
Config,

View File

@ -1,5 +1,6 @@
import { instanceOf } from "lambert-server";
import { WebSocket, CLOSECODES } from "@fosscord/gateway";
import { WebSocket } from "@fosscord/gateway";
import { CLOSECODES } from "../util/Constants";
export function check(this: WebSocket, schema: any, data: any) {
try {