npm i @fosscord/server-util
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { Config, Snowflake } from "fosscord-server-util";
|
||||
import { Config, Snowflake } from "@fosscord/server-util";
|
||||
import crypto from "crypto";
|
||||
import fs from "fs";
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { Event, EventModel } from "fosscord-server-util";
|
||||
import { Event, EventModel } from "@fosscord/server-util";
|
||||
|
||||
export async function emitEvent(payload: Omit<Event, "created_at">) {
|
||||
const obj = {
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import {
|
||||
GuildModel,
|
||||
MemberModel,
|
||||
UserModel,
|
||||
} from "fosscord-server-util";
|
||||
} from "@fosscord/server-util";
|
||||
import { HTTPError } from "lambert-server";
|
||||
import Config from "./Config";
|
||||
import { emitEvent } from "./Event";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { toObject, UserModel } from "fosscord-server-util";
|
||||
import { toObject, UserModel } from "@fosscord/server-util";
|
||||
import { HTTPError } from "lambert-server";
|
||||
|
||||
export const PublicUserProjection = {
|
||||
|
||||
Reference in New Issue
Block a user