mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-18 15:35:38 +00:00
Message handler: fix imports
This commit is contained in:
@@ -43,17 +43,15 @@ import {
|
||||
Permissions,
|
||||
normalizeUrl,
|
||||
DiscordApiErrors,
|
||||
CloudAttachment,
|
||||
ReadState,
|
||||
Member,
|
||||
Session,
|
||||
} from "@spacebar/util";
|
||||
import { HTTPError } from "lambert-server";
|
||||
import { In, Or, Equal, IsNull } from "typeorm";
|
||||
import fetch from "node-fetch-commonjs";
|
||||
import { CloudAttachment } from "../../../util/entities/CloudAttachment";
|
||||
import { ReadState } from "../../../util/entities/ReadState";
|
||||
import { Member } from "../../../util/entities/Member";
|
||||
import { Session } from "../../../util/entities/Session";
|
||||
import { ChannelType } from "@spacebar/schemas";
|
||||
import { Embed, MessageCreateAttachment, MessageCreateCloudAttachment, MessageCreateSchema, MessageType, Reaction } from "@spacebar/schemas";
|
||||
import { EmbedType } from "../../../schemas/api/messages/Embeds";
|
||||
import { ChannelType, Embed, EmbedType, MessageCreateAttachment, MessageCreateCloudAttachment, MessageCreateSchema, MessageType, Reaction } from "@spacebar/schemas";
|
||||
const allow_empty = false;
|
||||
// TODO: check webhook, application, system author, stickers
|
||||
// TODO: embed gifs/videos/images
|
||||
|
||||
Reference in New Issue
Block a user