diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-01-14 18:39:04 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-01-14 18:39:04 +0100 |
commit | 45432dd9c87ff398de1faf5a0083c366a2ea391b (patch) | |
tree | 3de3f02af22ffbf326ae7ed3655fd94a9a6ea52d /src/api/routes/v9/guilds/#guild_id | |
parent | var -> let (diff) | |
download | server-dev/rory/versioned-api.tar.xz |
Clean up imports dev/rory/versioned-api
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'src/api/routes/v9/guilds/#guild_id')
5 files changed, 5 insertions, 18 deletions
diff --git a/src/api/routes/v9/guilds/#guild_id/delete.ts b/src/api/routes/v9/guilds/#guild_id/delete.ts index 2c15e0de..3e9d4ef6 100644 --- a/src/api/routes/v9/guilds/#guild_id/delete.ts +++ b/src/api/routes/v9/guilds/#guild_id/delete.ts @@ -1,14 +1,4 @@ -import { - Channel, - emitEvent, - GuildDeleteEvent, - Guild, - Member, - Message, - Role, - Invite, - Emoji, -} from "@fosscord/util"; +import { emitEvent, GuildDeleteEvent, Guild } from "@fosscord/util"; import { Router, Request, Response } from "express"; import { HTTPError } from "lambert-server"; import { route } from "@fosscord/api"; diff --git a/src/api/routes/v9/guilds/#guild_id/discovery-requirements.ts b/src/api/routes/v9/guilds/#guild_id/discovery-requirements.ts index 7e63c06b..a7797c83 100644 --- a/src/api/routes/v9/guilds/#guild_id/discovery-requirements.ts +++ b/src/api/routes/v9/guilds/#guild_id/discovery-requirements.ts @@ -1,5 +1,3 @@ -import { Guild, Config } from "@fosscord/util"; - import { Router, Request, Response } from "express"; import { route } from "@fosscord/api"; diff --git a/src/api/routes/v9/guilds/#guild_id/invites.ts b/src/api/routes/v9/guilds/#guild_id/invites.ts index 4d033e9c..cdba51b5 100644 --- a/src/api/routes/v9/guilds/#guild_id/invites.ts +++ b/src/api/routes/v9/guilds/#guild_id/invites.ts @@ -1,4 +1,4 @@ -import { getPermission, Invite, PublicInviteRelation } from "@fosscord/util"; +import { Invite, PublicInviteRelation } from "@fosscord/util"; import { route } from "@fosscord/api"; import { Request, Response, Router } from "express"; diff --git a/src/api/routes/v9/guilds/#guild_id/members/#member_id/roles/#role_id/index.ts b/src/api/routes/v9/guilds/#guild_id/members/#member_id/roles/#role_id/index.ts index c0383912..4e80ba21 100644 --- a/src/api/routes/v9/guilds/#guild_id/members/#member_id/roles/#role_id/index.ts +++ b/src/api/routes/v9/guilds/#guild_id/members/#member_id/roles/#role_id/index.ts @@ -1,4 +1,4 @@ -import { getPermission, Member } from "@fosscord/util"; +import { Member } from "@fosscord/util"; import { route } from "@fosscord/api"; import { Request, Response, Router } from "express"; diff --git a/src/api/routes/v9/guilds/#guild_id/regions.ts b/src/api/routes/v9/guilds/#guild_id/regions.ts index 0b275ea4..49ec4531 100644 --- a/src/api/routes/v9/guilds/#guild_id/regions.ts +++ b/src/api/routes/v9/guilds/#guild_id/regions.ts @@ -1,7 +1,6 @@ -import { Config, Guild, Member } from "@fosscord/util"; +import { Guild } from "@fosscord/util"; import { Request, Response, Router } from "express"; -import { getVoiceRegions, route } from "@fosscord/api"; -import { getIpAdress } from "@fosscord/api"; +import { getVoiceRegions, route, getIpAdress } from "@fosscord/api"; const router = Router(); |