summary refs log tree commit diff
path: root/src/database/entities/Channel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/entities/Channel.ts')
-rw-r--r--src/database/entities/Channel.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/database/entities/Channel.ts b/src/database/entities/Channel.ts

index 17a2a628..6771fc40 100644 --- a/src/database/entities/Channel.ts +++ b/src/database/entities/Channel.ts
@@ -20,7 +20,7 @@ import { HTTPError } from "lambert-server/HTTPError"; import { Column, Entity, JoinColumn, ManyToOne, OneToMany, RelationId } from "typeorm"; import { DmChannelDTO } from "../../util/dtos"; import { ChannelCreateEvent, ChannelRecipientRemoveEvent, ThreadCreateEvent, ThreadMembersUpdateEvent } from "../../util/interfaces"; -import { InvisibleCharacters, Snowflake, emitEvent, getPermission, trimSpecial, Permissions, Config, DiscordApiErrors } from "../../util/util"; +import { InvisibleCharacters, Snowflake, emitEvent, getPermission, Permissions, Config, DiscordApiErrors } from "../../util/util"; import { BaseClass } from "./BaseClass"; import { Guild } from "./Guild"; import { Invite } from "./Invite"; @@ -35,6 +35,7 @@ import { Member } from "./Member"; import { ChannelPermissionOverwrite, ChannelType, PublicChannel, PublicUserProjection, ThreadMetadata } from "@spacebar/schemas"; import { OrmUtils } from "../../util/imports"; import { ThreadMember } from "./ThreadMember"; +import { trimSpecial } from "@spacebar/extensions"; @Entity({ name: "channels",