mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
Add: GuildChannel.setPermissions
This commit is contained in:
parent
3abe639fd1
commit
6eb33cd8bf
@ -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<Channel> {
|
||||
return this.edit({ permissionOverwrites: overwrites } as EditGuildChannelOptions)
|
||||
}
|
||||
}
|
||||
|
||||
/** BaseVoiceChannel */
|
||||
|
Loading…
x
Reference in New Issue
Block a user