summary refs log tree commit diff
path: root/src/api/routes/channels/#channel_id/permissions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/channels/#channel_id/permissions.ts')
-rw-r--r--src/api/routes/channels/#channel_id/permissions.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/api/routes/channels/#channel_id/permissions.ts b/src/api/routes/channels/#channel_id/permissions.ts
index 89be843f..0a816223 100644
--- a/src/api/routes/channels/#channel_id/permissions.ts
+++ b/src/api/routes/channels/#channel_id/permissions.ts
@@ -1,12 +1,11 @@
 import {
 	Channel,
 	ChannelPermissionOverwrite,
-	ChannelPermissionOverwriteType,
 	ChannelUpdateEvent,
 	emitEvent,
-	getPermission,
 	Member,
 	Role,
+	ChannelPermissionOverwriteSchema
 } from "@fosscord/util";
 import { Router, Response, Request } from "express";
 import { HTTPError } from "lambert-server";
@@ -16,9 +15,6 @@ const router: Router = Router();
 
 // TODO: Only permissions your bot has in the guild or channel can be allowed/denied (unless your bot has a MANAGE_ROLES overwrite in the channel)
 
-export interface ChannelPermissionOverwriteSchema
-	extends ChannelPermissionOverwrite {}
-
 router.put(
 	"/:overwrite_id",
 	route({