object PrefixParser

Source
prefixParser.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrefixParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def fromFunction(f: (CacheSnapshot, Message) => MessageParser[Unit]): PrefixParser
  2. def fromFunctionAsync(f: (CacheSnapshot, Message) => Future[MessageParser[Unit]]): PrefixParser
  3. def structured(needsMention: Boolean, symbols: Seq[String], aliases: Seq[String], caseSensitive: Boolean = false, mentionOrPrefix: Boolean = true): StructuredPrefixParser
  4. def structuredAsync(needsMention: (CacheSnapshot, Message) => Future[Boolean], symbols: (CacheSnapshot, Message) => Future[Seq[String]], aliases: (CacheSnapshot, Message) => Future[Seq[String]], caseSensitive: (CacheSnapshot, Message) => Future[Boolean] = (_, _) => Future.successful(false), canExecute: (CacheSnapshot, Message) => Future[Boolean] = (_, _) => Future.successful(true), mentionOrPrefix: (CacheSnapshot, Message) => Future[Boolean] = (_, _) => Future.successful(true)): StructuredPrefixParser
  5. def structuredFunction(needsMention: (CacheSnapshot, Message) => Boolean, symbols: (CacheSnapshot, Message) => Seq[String], aliases: (CacheSnapshot, Message) => Seq[String], caseSensitive: (CacheSnapshot, Message) => Boolean = (_, _) => false, canExecute: (CacheSnapshot, Message) => Boolean = (_, _) => true, mentionOrPrefix: (CacheSnapshot, Message) => Boolean = (_, _) => true): StructuredPrefixParser