abstract class HelpCommand extends CommandController

The basic structure for a help command. Only accepts commands that use StructuredPrefixParser.

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

Instance Constructors

  1. new HelpCommand(requests: requests.Requests)

Abstract Value Members

  1. abstract def createReplyAll(message: Message, page: Int)(implicit c: CacheSnapshot): Future[CreateMessageData]

    Create a reply for all the commands tracked by this help command.

    Create a reply for all the commands tracked by this help command.

    page

    The page to use. Starts at 0.

    returns

    Data to create a message describing the commands tracked by this help command.

  2. abstract def createSearchReply(message: Message, query: String, matches: Seq[HelpCommandProcessedEntry])(implicit c: CacheSnapshot): Future[CreateMessageData]

    Create a reply for a search result

    Create a reply for a search result

    matches

    All the commands that matched the arguments

    returns

    Data to create a message describing the search

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Command: CommandBuilder[UserCommandMessage, NotUsed]

    The default command builder you will use to create most of your commands.

    The default command builder you will use to create most of your commands. By default blocks bots from using the commands.

    Definition Classes
    CommandController
  5. val GuildCommand: CommandBuilder[GuildMemberCommandMessage, NotUsed]

    Another default command builder for you to use.

    Another default command builder for you to use. Can only be used in guilds, and includes the guild, guild channel and user of the command.

    Definition Classes
    CommandController
  6. val GuildVoiceCommand: CommandBuilder[VoiceGuildMemberCommandMessage, NotUsed]

    A command builder that only accepts users that are in a voice channel.

    A command builder that only accepts users that are in a voice channel.

    Definition Classes
    CommandController
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val baseCommandBuilder: CommandBuilder[CommandMessage, NotUsed]

    The base command builder that you can build off if you don't like the default provided builder.

    The base command builder that you can build off if you don't like the default provided builder.

    Definition Classes
    CommandController
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. val command: ComplexCommand[Option[Args], NotUsed]
  11. def defaultMentionOrPrefix: Boolean

    Determines the default value for mention or prefix when creating a named command.

    Determines the default value for mention or prefix when creating a named command.

    Definition Classes
    CommandController
  12. def defaultMustMention: Boolean

    Determines the default value for if a mention should required.

    Determines the default value for if a mention should required.

    Definition Classes
    CommandController
  13. implicit val ec: ExecutionContext
    Definition Classes
    CommandController
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def filterCommands(query: String)(implicit m: UserCommandMessage[_]): Future[Seq[HelpCommandProcessedEntry]]
    Attributes
    protected
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. implicit def findCache[A](implicit message: CommandMessage[A]): CacheSnapshot
    Definition Classes
    CommandController
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def registerCommand(prefix: StructuredPrefixParser, description: CommandDescription, done: Future[Done]): Unit
  26. val registeredCommands: Set[HelpCommandEntry]
    Attributes
    protected
  27. def removeEntry(entry: HelpCommandEntry): Unit
    Attributes
    protected
  28. val requestHelper: requests.RequestsHelper
    Definition Classes
    CommandController
  29. val requests: requests.Requests
    Definition Classes
    CommandController
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def unknownCmd(command: String): Option[CreateMessageData]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from CommandController

Inherited from AnyRef

Inherited from Any

Ungrouped