Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IChannel

Implemented by

Index

Methods

awaitMessages

  • awaitMessages(options?: object): Promise<IMessage[]>
  • Resolves with a collection of messages that pass the specified filter.

    Parameters

    • Optional options: object

      Optional options to pass to the internal collector

    Returns Promise<IMessage[]>

deleteMessages

getId

  • getId(): number

getMessages

  • getMessages(amount: number): Promise<IMessage[]>
  • Get messages sent in the channel.

    Parameters

    • amount: number

      The amount of messages to get

    Returns Promise<IMessage[]>

    A promise which returns an array of the messages on resolve

getName

  • getName(): string

getServer

send

  • send(message?: string, options?: any): any

Generated using TypeDoc