The discord client
The Discord Client
Array of giveaways to be updated
A queue of all running giveaways
Gets the provider being used by the giveaway manager
Creates a giveaway and adds it to the giveaway queue
The giveaway data
Creates a giveaway in the given channel with the the given giveaway data
TextChannel where the giveaway will run
Data for the created giveaway
Deletes a giveaway with the given message id (sent by the bot). This giveaway will no longer be run
ID of the giveaway to delete
Edits the giveaway data with the fields you give
ID of the giveaway to edit
Giveaway edit data
Ends a giveaway with the given message id (sent by the bot). The giveaway gets finished and the winners are listed
ID of the giveaway to end
Initializes the GiveawayManager and restarts all giveaways
Loops through the giveaway queue and sets the update timeout and also filters out the finished giveaways
Rerolls a finished giveaway with the given message and Reroll Data and returns an array of winners
Giveaway Message to reroll
Giveaway reroll options
Updates a certain giveaway, if the time is up it gets finished
The giveaway instance to update
Generated using TypeDoc
Constructs the GiveawayManager