summary refs log tree commit diff
path: root/src/api/routes/v0
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-01-14 13:25:16 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-01-14 13:25:16 +0100
commitb3657f2cc89bd67d1879f2a5f6589bb1cd11ff08 (patch)
tree1cad59bf6ea6f84011e6b2af04bbe3643fb332f0 /src/api/routes/v0
parentMove rest of endpoints that return nothing into v0 (diff)
downloadserver-ts-b3657f2cc89bd67d1879f2a5f6589bb1cd11ff08.tar.xz
Move isTextChannel to channel
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'src/api/routes/v0')
-rw-r--r--src/api/routes/v0/channels/#channel_id/webhooks.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/api/routes/v0/channels/#channel_id/webhooks.ts b/src/api/routes/v0/channels/#channel_id/webhooks.ts

index 737ed6a8..1cd42cee 100644 --- a/src/api/routes/v0/channels/#channel_id/webhooks.ts +++ b/src/api/routes/v0/channels/#channel_id/webhooks.ts
@@ -1,19 +1,5 @@ import { Router, Response, Request } from "express"; import { route } from "@fosscord/api"; -import { - Channel, - Config, - handleFile, - trimSpecial, - User, - Webhook, - WebhookCreateSchema, - WebhookType, -} from "@fosscord/util"; -import { HTTPError } from "lambert-server"; -import { isTextChannel } from "./messages/index"; -import { DiscordApiErrors } from "@fosscord/util"; -import crypto from "crypto"; const router: Router = Router();