Interface CreateOptions

Hierarchy

  • CreateOptions

Properties

client: Client

The droff client

createLexer?: ((content: string) => Lexer)

Type declaration

    • (content: string): Lexer
    • Create a custom lexure.Lexer for parsing commands.

      Parameters

      • content: string

      Returns Lexer

createParser?: ((tokens: Token[]) => Parser)

Type declaration

    • (tokens: Token[]): Parser
    • Create a custom lexure.Parser for parsing commands.

      Parameters

      • tokens: Token[]

      Returns Parser

filterBotMessages?: boolean

Do you want to filter out message's from bot users?

Defaults to true

guildsCache: NonParentCacheStore<Guild>

The guilds cache is required

prefix?: CommandPrefix

Set the prefix. Defaults to "!"

Generated using TypeDoc