typings(GuildChannel): Added missing typing (#6454)

This commit is contained in:
Synbulat Biishev
2021-08-18 01:44:02 +05:00
committed by GitHub
parent 9a833b1e0e
commit f294d1eff2

1
typings/index.d.ts vendored
View File

@@ -812,6 +812,7 @@ export class GuildChannel extends Channel {
public type: Exclude<keyof typeof ChannelTypes, 'DM' | 'GROUP_DM' | 'UNKNOWN'>;
public readonly viewable: boolean;
public clone(options?: GuildChannelCloneOptions): Promise<this>;
public delete(reason?: string): Promise<this>;
public edit(data: ChannelData, reason?: string): Promise<this>;
public equals(channel: GuildChannel): boolean;
public lockPermissions(): Promise<this>;