Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageCollectorOptions

Options for a MessageCollector.

since

0.0.1

Hierarchy

  • MessageCollectorOptions

Index

Properties

Properties

Optional filter

filter: undefined | ((message: [Message], collected: Cache<string, Message>) => boolean)

The filter used to filter out specific messages.

since

0.0.1

Optional idle

idle: undefined | number

The time in ms that a MessageCollector will go before idling out.

since

0.0.1

Optional limit

limit: undefined | number

The amount of messages to collect before ending the collector.

since

0.0.1

Generated using TypeDoc