implicit final class MessageSyntax extends AnyVal
- Source
- syntax.scala
- Alphabetic
- By Inheritance
- MessageSyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
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 createReaction(emoji: String): CreateReaction
Create a reaction for a message.
Create a reaction for a message.
- emoji
The emoji to react with.
- def createReaction(guildEmoji: Emoji): CreateReaction
Create a reaction for a message.
Create a reaction for a message.
- guildEmoji
The emoji to react with.
- def delete: DeleteMessage
Delete this message.
- def deleteAllReactions: DeleteAllReactions
Clear all the reactions on this message.
- def deleteEmojiReactions(emoji: String): DeleteAllReactionsForEmoji
Clear all the reactions on this message.
- def deleteEmojiReactions(emoji: Emoji): DeleteAllReactionsForEmoji
Clear all the reactions on this message.
- def deleteOwnReaction(emoji: String): DeleteOwnReaction
Delete the clients reaction to a message.
Delete the clients reaction to a message.
- emoji
The emoji to remove a reaction for.
- def deleteOwnReaction(guildEmoji: Emoji): DeleteOwnReaction
Delete the clients reaction to a message.
Delete the clients reaction to a message.
- guildEmoji
The emoji to remove a reaction for.
- def deleteUserReaction(emoji: String, userId: UserId): DeleteUserReaction
Delete the reaction of a user with an emoji.
Delete the reaction of a user with an emoji.
- emoji
The emoji of the reaction to remove.
- userId
The userId to remove for.
- def deleteUserReaction(guildEmoji: Emoji, userId: UserId): DeleteUserReaction
Delete the reaction of a user with an emoji.
Delete the reaction of a user with an emoji.
- guildEmoji
The emoji of the reaction to remove.
- userId
The userId to remove for.
- def edit(content: util.JsonOption[String] = JsonUndefined, files: Seq[CreateMessageFile] = Seq.empty, allowedMentions: util.JsonOption[AllowedMention] = JsonUndefined, embeds: util.JsonOption[Seq[OutgoingEmbed]] = JsonUndefined, flags: util.JsonOption[MessageFlags] = JsonUndefined, components: util.JsonOption[Seq[ActionRow]] = JsonUndefined): EditMessage
Edit this message.
Edit this message.
- content
The new content of this message
- def fetchReactions(guildEmoji: Emoji, after: Option[UserId] = None, limit: Option[Int] = None): GetReactions
Fetch all the users that have reacted with an emoji for this message.
Fetch all the users that have reacted with an emoji for this message.
- guildEmoji
The emoji the get the reactors for.
- def fetchReactionsStr(emoji: String, after: Option[UserId] = None, limit: Option[Int] = None): GetReactions
Fetch all the users that have reacted with an emoji for this message.
Fetch all the users that have reacted with an emoji for this message.
- emoji
The emoji the get the reactors for.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def pin: PinMessage
Pin this message.
- def startThread(name: String, autoArchiveDuration: Option[Int] = None, rateLimitPerUser: Option[Int] = None): StartThreadWithMessage
Start a new thread from this message.
- def toString(): String
- Definition Classes
- Any
- def unpin: UnpinMessage
Unpin this message.