Function awaitMessages

  • Await messages.

    Type Parameters

    • T extends AnyTextChannel

    Parameters

    • client: Client<ClientEvents>

      The Oceanic client to apply the collector on.

    • channel: T

      The channel to await messages from.

    • Optional options: CollectorOptions<Message<T>>

      The options to await the messages with.

    Returns Promise<Message<T>[]>

Generated using TypeDoc