diff --git a/structures/Message.ts b/structures/Message.ts index ecf94b0..3e42786 100644 --- a/structures/Message.ts +++ b/structures/Message.ts @@ -19,7 +19,7 @@ import Member from "./Member.ts"; import Attachment from "./Attachment.ts"; import ComponentFactory from "./components/ComponentFactory.ts"; import MessageReaction from "./MessageReaction.ts"; -import ThreadChannel from "./channels/ThreadChannel.ts"; +// import ThreadChannel from "./channels/ThreadChannel.ts"; import * as Routes from "../util/Routes.ts"; /** @@ -103,7 +103,7 @@ export class Message implements Model { this.embeds = data.embeds; if (data.thread && data.guild_id) { - this.thread = new ThreadChannel(session, data.thread, data.guild_id); + // this.thread = new ThreadChannel(session, data.thread, data.guild_id); } // webhook handling diff --git a/structures/channels/GuildChannel.ts b/structures/channels/GuildChannel.ts index 6dde8ff..4a3600a 100644 --- a/structures/channels/GuildChannel.ts +++ b/structures/channels/GuildChannel.ts @@ -9,7 +9,6 @@ import type { } from "../../vendor/external.ts"; import type { ListArchivedThreads } from "../../util/Routes.ts"; import BaseChannel from "./BaseChannel.ts"; -import ThreadChannel from "./ThreadChannel.ts"; import ThreadMember from "../ThreadMember.ts"; import Invite from "../Invite.ts"; import * as Routes from "../../util/Routes.ts"; @@ -64,6 +63,7 @@ export class GuildChannel extends BaseChannel implements Model { return invites.map((invite) => new Invite(this.session, invite)); } + /* async getArchivedThreads(options: ListArchivedThreads & { type: "public" | "private" | "privateJoinedThreads" }) { let func: (channelId: Snowflake, options: ListArchivedThreads) => string; @@ -110,7 +110,8 @@ export class GuildChannel extends BaseChannel implements Model { ); return new ThreadChannel(this.session, thread, thread.guild_id ?? this.guildId); - } + }*/ } + export default GuildChannel;