Skip to main content

Class: GuildChannel

Hierarchy​

Constructors​

constructor​

• new GuildChannel(client, data)

Parameters​

NameType
clientClient
dataAPIGuildChannel<any>

Overrides​

Channel.constructor

Defined in​

packages/libcord/src/structures/channels/GuildChannel.ts:20

Properties​

client​

• Readonly client: Client

Inherited from​

Channel.client

Defined in​

packages/libcord/src/structures/Base.ts:8


guild​

• guild: Guild

Defined in​

packages/libcord/src/structures/channels/GuildChannel.ts:14


id​

• id: string

Inherited from​

Channel.id

Defined in​

packages/libcord/src/structures/channels/Channel.ts:8


name​

• name: string

Overrides​

Channel.name

Defined in​

packages/libcord/src/structures/channels/GuildChannel.ts:13


nsfw​

• nsfw: boolean

Defined in​

packages/libcord/src/structures/channels/GuildChannel.ts:15


parentId​

• parentId: null | string

Defined in​

packages/libcord/src/structures/channels/GuildChannel.ts:17


permissionOverwrites​

• permissionOverwrites: PermissionOverwrite[] = []

Defined in​

packages/libcord/src/structures/channels/GuildChannel.ts:18


position​

• position: number

Defined in​

packages/libcord/src/structures/channels/GuildChannel.ts:16


type​

• Readonly type: ChannelTypes

Inherited from​

Channel.type

Defined in​

packages/libcord/src/structures/channels/Channel.ts:9

Accessors​

mention​

• get mention(): string

Returns​

string

Inherited from​

Channel.mention

Defined in​

packages/libcord/src/structures/channels/Channel.ts:19

Methods​

edit​

▸ edit(options): Promise<undefined | VoiceChannel | GuildChannel | TextChannel | CategoryChannel>

Parameters​

NameType
optionsChannelEditOptions

Returns​

Promise<undefined | VoiceChannel | GuildChannel | TextChannel | CategoryChannel>

Defined in​

packages/libcord/src/structures/channels/GuildChannel.ts:71


update​

▸ update(data): GuildChannel

Parameters​

NameType
dataAPIGuildChannel<any>

Returns​

GuildChannel

Defined in​

packages/libcord/src/structures/channels/GuildChannel.ts:43