Object that represents a successful reply done by a command handler.

Hierarchy

  • ChatMessageHandlerReply

Properties

additionalMacros?: Readonly<MacroMap>

Additional macro map to generate text from strings.

additionalPlugins?: Readonly<PluginMap>

Additional plugin map to generate text from strings.

customSendFunc?: ((message: string, logger: Readonly<Logger>) => string[] | Promise<string[]>)

Type declaration

    • (message: string, logger: Readonly<Logger>): string[] | Promise<string[]>
    • A custom send function.

      Parameters

      • message: string
      • logger: Readonly<Logger>

      Returns string[] | Promise<string[]>

isError?: boolean

This message should throw an error.

messageId: string | ((globalStrings: Readonly<StringMap>, globalPlugins: Readonly<PluginMap>, globalMacros: Readonly<MacroMap>, logger: Readonly<Logger>) => Promise<string>)

The message ID or as fallback a custom string generator.

Generated using TypeDoc