🎉 Complete framework to facilitate the creation of giveaways using discord.js
givewayEnded
event. (46e6c506698d71190a833aae9f909088f29013e8, 273cc531670b345d081164db439a8da9c998fbe2)winnerCount
is bigger than the amount of participations. (0768c8e7230b1a1a01250a94df49be0ba4ae666f)(last chance feature example)
Huge thanks to @Nico105 for his contributions :heart:
GiveawaysManager#edit()
documentation fixed. (a20cd88bac30c65883d240a61a60a751793cab1d)giveawayEnded
now returns a valid array of Discord.GuildMember
. (f09f8d792c68a0c2fbcd27b01d3dfde2c8c7bbb9)giveawayReactionAdded
is no longer emitted when the bot adds the first reaction to the giveaway message. (48b628b)GUILD_MEMBERS
intent are now entirely supported. (c0e19f5)newExtraData
option to GiveawaysManager#edit()
method. (6f77ad2)init
option to GiveawaysManager
to choose whether it should be initialized once it's created. (3080bcd, #153)Giveaway#messageURL
getter. (a29bf43)mongodb
link in README. (11ec279)giveaway.extraData
property, useful to store data such as custom requirements, etc. (496e1916f1524a8fc4f1db71c91bc0cf0acf1d49)Giveaway.winnersIDs
, filled when the giveaway is ended. (#145)GiveawayManager.endedGiveawaysLifetime
, useful to remove ended giveaways from DB after a period of time. (#145)GiveawaysManager#giveawayDeleted
event. (496e1916f1524a8fc4f1db71c91bc0cf0acf1d49)reroll()
now edits the giveaway embed instead of only sending a new message. (496e1916f1524a8fc4f1db71c91bc0cf0acf1d49)reroll()
method now uses the number of winners specified in options object (2896edba87c43eee73aba40004ce6c0c6baf0fa9)botsCanWin
check (da52a5408ae615d002f7d51712127d0e77f48eb7)giveaway#content
has been renamed to giveaway#remainingText
(04ce6cd)Huge thanks to @Shashank3736, @GreepTheSheep, @DeltaCoderr, and @NicoHd105 for helping!
giveawayRerolled
event. (01047edaee9d8a2c93c20a6d3d06face79f90551, 8b6150fbd4de1bab0f9d3e65d4270932873442ec)exemptMembers
function can now be ended (it will accept all the members) (13e64556e41f3a31a73536e6c76950b4bd3525dc)Manager#delete()
has been fixed when it was used with a custom database. (2d42724040b58e43f10bc6f3d6d20233b27a1544)reaction
parameter was added to giveawayReactionRemoved
event. (097c2ecf7018cf5c86fc56aa052277a04238e166)giveawayReactionAdded
and giveawayReactionRemoved
are now triggered for custom reactions. (#69)