Skip to content

Commit

Permalink
Update GuildChannel.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pakkographic committed Jun 28, 2024
1 parent c848ca9 commit 482ccb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/structures/GuildChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class GuildChannel extends Base<string> {
this.archivedBy = data.archivedBy ?? null;
this.archivedAt = data.archivedAt ? new Date(data.archivedAt) : null;
this.visibility = data.visibility ?? "public";
this.isPublic = this.visibility === "public" ? true : false;
this.isPublic = this.visibility === "public";
// this.messages = new TypedCollection(Message, client, client.params.collectionLimits?.messages);
// this.threads = new TypedCollection(ForumThread, client, client.params.collectionLimits?.threads);
// this.docs = new TypedCollection(Doc, client, client.params.collectionLimits?.docs);
Expand Down Expand Up @@ -154,7 +154,7 @@ export class GuildChannel extends Base<string> {
return this.client.rest.channels.archiveChannel(this.id as string);
}

/** Unarchive the channel */
/** Restore the archived channel */
async restore(): Promise<void>{
return this.client.rest.channels.restoreChannel(this.id as string);
}
Expand Down

0 comments on commit 482ccb5

Please sign in to comment.