object MessageParser extends MessageParserInstances with DeriveMessageParser

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MessageParser
  2. DeriveMessageParser
  3. MessageParserInstances
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class RemainingAsString(remaining: String) extends Product with Serializable
  2. trait HighFunc[F[_[_]], G[_[_]]] extends AnyRef
    Definition Classes
    MessageParserInstances

Value Members

  1. object Auto
    Definition Classes
    DeriveMessageParser
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val allStringsParser: MessageParser[List[String]]

    A parser that will return all the strings passed to it.

    A parser that will return all the strings passed to it.

    Definition Classes
    MessageParserInstances
  6. def apply[A](implicit parser: MessageParser[A]): MessageParser[A]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. implicit val booleanParser: MessageParser[Boolean]
    Definition Classes
    MessageParserInstances
  9. implicit val byteParser: MessageParser[Byte]
    Definition Classes
    MessageParserInstances
  10. implicit val cNilParser: MessageParser[CNil]
    Definition Classes
    DeriveMessageParser
  11. implicit val channelParser: MessageParser[Channel]
    Definition Classes
    MessageParserInstances
  12. val channelRegex: Regex
    Definition Classes
    MessageParserInstances
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. implicit def coProductParser[Head, Tail <: Coproduct](implicit headParser: Lazy[MessageParser[Head]], tailParser: Lazy[MessageParser[Tail]]): MessageParser[:+:[Head, Tail]]
    Definition Classes
    DeriveMessageParser
  15. implicit val doubleParser: MessageParser[Double]
    Definition Classes
    MessageParserInstances
  16. implicit val emojiParser: MessageParser[Emoji]
    Definition Classes
    MessageParserInstances
  17. val emojiRegex: Regex
    Definition Classes
    MessageParserInstances
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. implicit val floatParser: MessageParser[Float]
    Definition Classes
    MessageParserInstances
  22. def fromString[A](f: (String) ⇒ A): MessageParser[A]

    Create a parser from a string

    Create a parser from a string

    A

    The type to parse

    f

    The function to transform the string with

    Definition Classes
    MessageParserInstances
  23. def fromTry[A](f: (String) ⇒ Try[A]): MessageParser[A]

    Parse a string with a try

    Parse a string with a try

    A

    The type to parse

    f

    The function to transform the string with.

    Definition Classes
    MessageParserInstances
  24. def fromTryCustomError[A](errorMessage: String)(f: (String) ⇒ Try[A]): MessageParser[A]

    Same as fromTry but with a custom error.

    Same as fromTry but with a custom error.

    A

    The type to parse

    errorMessage

    The error message to use

    f

    The function to transform the string with.

    Definition Classes
    MessageParserInstances
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. implicit val guildChannelParser: MessageParser[GuildChannel]
    Definition Classes
    MessageParserInstances
  27. implicit def hListParser[Head, Tail <: HList](implicit headParser: Lazy[MessageParser[Head]], tailParser: Lazy[MessageParser[Tail]]): MessageParser[::[Head, Tail]]
    Definition Classes
    DeriveMessageParser
  28. implicit val hNilParser: MessageParser[HNil]
    Definition Classes
    DeriveMessageParser
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. implicit val intParser: MessageParser[Int]
    Definition Classes
    MessageParserInstances
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. implicit val longParser: MessageParser[Long]
    Definition Classes
    MessageParserInstances
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. implicit val notUsedParser: MessageParser[NotUsed]

    A parser that will only succeed if there are no strings left.

    A parser that will only succeed if there are no strings left.

    Definition Classes
    MessageParserInstances
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. implicit def optionParser[A](implicit parser: MessageParser[A]): MessageParser[Option[A]]
    Definition Classes
    MessageParserInstances
  38. def parseResult[F[_], A](message: String)(implicit parser: MessageParser[A], c: CacheSnapshot[F], F: Monad[F]): EitherT[F, String, A]

    Parse a message as an type

    Parse a message as an type

    A

    The type to parse the message as

    message

    The message to parse

    parser

    The parser to use

    c

    The cache to use

    returns

    Left with an error message if it failed to parse, or Right with the parsed type

  39. implicit def remaining2String(remaining: RemainingAsString): String
  40. implicit val remainingStringParser: MessageParser[RemainingAsString]
    Definition Classes
    MessageParserInstances
  41. implicit val roleParser: MessageParser[Role]
    Definition Classes
    MessageParserInstances
  42. val roleRegex: Regex
    Definition Classes
    MessageParserInstances
  43. implicit val shortParser: MessageParser[Short]
    Definition Classes
    MessageParserInstances
  44. implicit val stringParser: MessageParser[String]
    Definition Classes
    MessageParserInstances
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. implicit val tChannelParser: MessageParser[TChannel]
    Definition Classes
    MessageParserInstances
  47. implicit val tGuildChannelParser: MessageParser[TGuildChannel]
    Definition Classes
    MessageParserInstances
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. implicit val userParser: MessageParser[User]
    Definition Classes
    MessageParserInstances
  50. val userRegex: Regex
    Definition Classes
    MessageParserInstances
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  54. def withTry[A](f: (String) ⇒ A): MessageParser[A]

    Parse a string with a function that can throw

    Parse a string with a function that can throw

    A

    The type to parse

    f

    The function to transform the string with. This can throw an exception

    Definition Classes
    MessageParserInstances

Inherited from DeriveMessageParser

Inherited from MessageParserInstances

Inherited from AnyRef

Inherited from Any

Ungrouped