c

ackcord.syntax

MessageSyntax

implicit final class MessageSyntax extends AnyVal

Source
syntax.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MessageSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MessageSyntax(message: Message)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def createReaction(emoji: String): CreateReaction

    Create a reaction for a message.

    Create a reaction for a message.

    emoji

    The emoji to react with.

  6. def createReaction(guildEmoji: Emoji): CreateReaction

    Create a reaction for a message.

    Create a reaction for a message.

    guildEmoji

    The emoji to react with.

  7. def delete: DeleteMessage

    Delete this message.

  8. def deleteAllReactions: DeleteAllReactions

    Clear all the reactions on this message.

  9. def deleteEmojiReactions(emoji: String): DeleteAllReactionsForEmoji

    Clear all the reactions on this message.

  10. def deleteEmojiReactions(emoji: Emoji): DeleteAllReactionsForEmoji

    Clear all the reactions on this message.

  11. 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.

  12. 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.

  13. 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.

  14. 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.

  15. 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

  16. 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.

  17. 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.

  18. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def pin: PinMessage

    Pin this message.

  21. def startThread(name: String, autoArchiveDuration: Option[Int] = None, rateLimitPerUser: Option[Int] = None): StartThreadWithMessage

    Start a new thread from this message.

  22. def toString(): String
    Definition Classes
    Any
  23. def unpin: UnpinMessage

    Unpin this message.

Inherited from AnyVal

Inherited from Any

Ungrouped