Remove ALL fosscord mentions
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { WebSocket } from "@fosscord/gateway";
|
||||
import { WebSocket } from "@spacebar/gateway";
|
||||
import {
|
||||
emitEvent,
|
||||
PresenceUpdateEvent,
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
Session,
|
||||
SessionsReplace,
|
||||
User,
|
||||
} from "@fosscord/util";
|
||||
} from "@spacebar/util";
|
||||
|
||||
export async function Close(this: WebSocket, code: number, reason: Buffer) {
|
||||
console.log("[WebSocket] closed", code, reason.toString());
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
||||
import WS from "ws";
|
||||
import { genSessionId, WebSocket } from "@fosscord/gateway";
|
||||
import { genSessionId, WebSocket } from "@spacebar/gateway";
|
||||
import { Send } from "../util/Send";
|
||||
import { CLOSECODES, OPCODES } from "../util/Constants";
|
||||
import { setHeartbeat } from "../util/Heartbeat";
|
||||
@@ -27,7 +27,7 @@ import { Close } from "./Close";
|
||||
import { Message } from "./Message";
|
||||
import { Deflate, Inflate } from "fast-zlib";
|
||||
import { URL } from "url";
|
||||
import { Config, ErlpackType } from "@fosscord/util";
|
||||
import { Config, ErlpackType } from "@spacebar/util";
|
||||
|
||||
let erlpack: ErlpackType | null = null;
|
||||
try {
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { WebSocket, Payload, CLOSECODES, OPCODES } from "@fosscord/gateway";
|
||||
import { WebSocket, Payload, CLOSECODES, OPCODES } from "@spacebar/gateway";
|
||||
import OPCodeHandlers from "../opcodes";
|
||||
import { check } from "../opcodes/instanceOf";
|
||||
import WS from "ws";
|
||||
import { PayloadSchema, ErlpackType } from "@fosscord/util";
|
||||
import { PayloadSchema, ErlpackType } from "@spacebar/util";
|
||||
import * as Sentry from "@sentry/node";
|
||||
import BigIntJson from "json-bigint";
|
||||
import path from "path";
|
||||
|
||||
Reference in New Issue
Block a user