diff --git a/packages/core/src/structures/channels.ts b/packages/core/src/structures/channels.ts index f98dd25..e7cb35b 100644 --- a/packages/core/src/structures/channels.ts +++ b/packages/core/src/structures/channels.ts @@ -627,6 +627,10 @@ export class GuildChannel extends BaseChannel implements Model { return new ThreadChannel(this.session, thread, thread.guild_id ?? this.guildId); } + + async setPermissions(overwrites: PermissionsOverwrites[]): Promise { + return this.edit({ permissionOverwrites: overwrites } as EditGuildChannelOptions) + } } /** BaseVoiceChannel */