Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GuildTextChannel

Represents a channel found in a guild of type ChannelType.GuildText

Hierarchy

Implements

Index

Constructors

constructor

Properties

bot

bot: Bot

The Bot operating this structure

guild

guild: Guild

The guild this channel is associated to

id

The ID of this channel

invites

The guild channel's invites controller

lastMessageId

lastMessageId: Snowflake | null | undefined

The ID of the last message sent in this channel. May not point to an existing or valid message

messages

The text channel's messages controller

name

name: string

The name of the channel

nsfw

nsfw: boolean | undefined
inheritdoc

parentId

parentId: Snowflake | undefined | null

The ID of this channel's parent category

permissions

This guild channel's permission overwrites controller

pins

The text channel's pinned messages controller

position

position: number

Sorting position of the channel

slowModeTimeout

slowModeTimeout: number
inheritdoc

topic

topic: string | null

The topic of the channel. Possibly null if channel does not have a topic

type

The type of this channel

webhooks

The guild channel's webhooks controller

Accessors

parent

Methods

bulkDeleteMessages

  • bulkDeleteMessages(messages: Snowflake[]): Promise<void>

clone

  • clone(): this

delete

modify

sendMessage

triggerTyping

  • triggerTyping(): Promise<void>
  • Posts a typing indicator for a specified text channel. Useful when the bot is responding to a command and expects the computation to take a few seconds. This method may be called to let the user know that the bot is processing their message.

    Returns Promise<void>

update

Generated using TypeDoc