Constructors

Methods

  • Fetches the message of a giveaway.

    Parameters

    • channelID: string

      The id of the channel to pull message from.

    • OptionalmessageID: string

      The id of the message to fetch.

    Returns Promise<void | Message<true>>

  • Rerolls an existing giveaway.

    Parameters

    • id: string

      The id of the giveaway to reroll.

    • unique: boolean = false

      Whether to not include the previous winners.

    • Optionalamount: number

      The amount of new winners.

    Returns Promise<null | Giveaway>