feat(GuildChannel): backport permissionsLocked getter (#3507)

* backport(GuildChannel): GuildChannel#permissionsLocked

* typings: GuildChannel#permissionsLocked

* fix(typings): mark permissionsLocked getter as readonly
This commit is contained in:
Souji
2019-10-04 16:43:12 +02:00
committed by SpaceEEC
parent 8ddd0616a9
commit 2610bf57ae
2 changed files with 17 additions and 0 deletions

1
typings/index.d.ts vendored
View File

@@ -632,6 +632,7 @@ declare module 'discord.js' {
public parentID: Snowflake | null;
public permissionOverwrites: Collection<Snowflake, PermissionOverwrites>;
public position: number;
public readonly permissionsLocked: boolean | null;
public clone(name?: string, withPermissions?: boolean, withTopic?: boolean, reason?: string): Promise<GuildChannel>;
public createInvite(options?: InviteOptions, reason?: string): Promise<Invite>;
public delete(reason?: string): Promise<GuildChannel>;