Chameleon
    Preparing search index...

    Class CollectorManager

    Index

    Constructors

    Methods

    • Waits for a specified number of messages in a given channel that pass the filter, if the time limit is reached, resolves with the messages collected so far

      Parameters

      • channelId: string
      • options: AwaitMessagesOptions = {}

      Returns Promise<Message[]>

    • waits for a single component interaction on a specific message, resolves with the ComponentContext if successful, or null if it timed out

      Parameters

      • messageId: string
      • options: AwaitComponentOptions = {}

      Returns Promise<ComponentContext | null>