Skip to main content

TextBasedChannel

Hierarchy

Index

Constructors

constructor

Properties

publicclient

client: Client<boolean>

The client that initialized this channel

publicguildId

guildId: undefined | string

The ID of the guild this channel is in

publicid

id: string

The ID of this channel

publicname

name: undefined | string

The name of this channel

publictype

type: ChannelType

The type of channel

Methods

publicisTextBased

publicsend

  • send(options: string | MessageOptions): Promise<Message<boolean>>
  • Send a message in this channel

publicsendTyping

  • sendTyping(): Promise<void>
  • Sends a typing indicator in this channel

publictoString

  • toString(): string
  • When concatenated with a string, this automatically returns the channel’s mention instead of the Channel object