implicit final class TextChannelSyntax extends AnyVal
- Source
- syntax.scala
- Alphabetic
- By Inheritance
- TextChannelSyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TextChannelSyntax(textChannel: TextChannel)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def fetchMessage(id: MessageId): GetChannelMessage
Fetch a message in this channel.
- def fetchMessages(limit: Option[Int] = None): GetChannelMessages
Fetch messages in this channel.
Fetch messages in this channel.
- limit
The max amount of messages to return.
- def fetchMessagesAfter(after: MessageId, limit: Option[Int] = None): GetChannelMessages
Fetch messages after a message id.
Fetch messages after a message id.
- after
The message to get messages after.
- limit
The max amount of messages to return.
- def fetchMessagesAround(around: MessageId, limit: Option[Int] = None): GetChannelMessages
Fetch messages around a message id.
Fetch messages around a message id.
- around
The message to get messages around.
- limit
The max amount of messages to return.
- def fetchMessagesBefore(before: MessageId, limit: Option[Int] = None): GetChannelMessages
Fetch messages before a message id.
Fetch messages before a message id.
- before
The message to get messages before.
- limit
The max amount of messages to return.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def sendMessage(content: String = "", tts: Boolean = false, files: Seq[Path] = Seq.empty, embeds: Seq[OutgoingEmbed] = Seq.empty, allowedMentions: AllowedMention = AllowedMention.all, replyTo: Option[MessageId] = None, replyFailIfNotExist: Boolean = true, components: Seq[ActionRow] = Nil): CreateMessage
Send a message to this channel.
Send a message to this channel.
- content
The content of the message.
- tts
If this is a text-to-speech message.
- files
The files to send with this message. You can reference these files in the embed using
attachment://filename
.
- def toString(): String
- Definition Classes
- Any
- def triggerTyping: TriggerTypingIndicator
Triggers typing in a channel.