mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 02:53:31 +01:00
feat(Guild): setChannelPositions parent, lockPermissions keys (#5507)
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@@ -220,6 +220,8 @@ declare module 'discord.js' {
|
||||
public type: 'category';
|
||||
}
|
||||
|
||||
type CategoryChannelResolvable = Snowflake | CategoryChannel;
|
||||
|
||||
export class Channel extends Base {
|
||||
constructor(client: Client, data?: object);
|
||||
public readonly createdAt: Date;
|
||||
@@ -2358,7 +2360,9 @@ declare module 'discord.js' {
|
||||
|
||||
interface ChannelPosition {
|
||||
channel: ChannelResolvable;
|
||||
position: number;
|
||||
lockPermissions?: boolean;
|
||||
parent?: CategoryChannelResolvable;
|
||||
position?: number;
|
||||
}
|
||||
|
||||
type ChannelResolvable = Channel | Snowflake;
|
||||
|
||||
Reference in New Issue
Block a user