Releases: Androz2091/discord-giveaways
Releases · Androz2091/discord-giveaways
4.5.0
Added
- New prize variable for reroll and end methods. (163b79e)
- Winners that have been chosen can no longer be chosen when rerolling. (0768c8e)
- New last chance option. (#45)
- Bonus Entries. (#187)
Fixed
- Errors when editing a giveaway message are now caught. (66e8ab6)
- MongoDB example has been renamed to QuickMongo. (d0988fb)
- Fix
givewayEnded
event. (46e6c50, 273cc53) - Fix error when
winnerCount
is bigger than the amount of participations. (0768c8e) - Some fixes with the typings and data types. (#211)
- Giveaways with a lot of winners are now displayed correctly. (#225)
- Fix some functions to Discord.js v13 is supported. (af3eb35)
- Exempt members are now serialized so they can be retrieved if the bot has to restart. (30f7751)
- Support many winners in the embed and win message. (c8f2b81)
Documentation
- Add end method in examples. (163b79e)
- Add embedColorEnd in examples. (6d4c678)
- New mongoose example. (ec0a50e)
- New enmap example. (8588d8d)
- New @replit/database example. (0b5ecb5)
- New quick.replit example. (e13882c)
Other
- Issue templates on GitHub. (#216)
Huge thanks to @Nico105 for his contributions ❤️
4.4.3
Fixed
- Many small bugs related to the selection of the winners at the end of the giveaways
4.4.2
4.4.1
4.4.0
Added
- Bots without
GUILD_MEMBERS
intent are now entirely supported. (c0e19f5) - New
newExtraData
option toGiveawaysManager#edit()
method. (6f77ad2) - New
init
option toGiveawaysManager
to choose whether it should be initialized once it's created. (3080bcd, #153) - New
Giveaway#messageURL
getter. (a29bf43)
Fixed
- Update
mongodb
link in README. (11ec279)
4.3.0
⚠️ (small) Breaking changes
- Discord.js v11 support has been removed. (31dacd8)
Added
- New
giveaway.extraData
property, useful to store data such as custom requirements, etc. (496e191) - Add
Giveaway.winnersIDs
, filled when the giveaway is ended. (#145) - Add
GiveawayManager.endedGiveawaysLifetime
, useful to remove ended giveaways from DB after a period of time. (#145) - New
GiveawaysManager#giveawayDeleted
event. (496e191) - Embeds are now generated using methods in the GiveawaysManager class that can be overwritten! (c653901)
reroll()
now edits the giveaway embed instead of only sending a new message. (496e191)- Eslint added, for a better code quality
- Add MySQL example (e594be9)
Fixed
reroll()
method now uses the number of winners specified in options object (2896edb)- Fix
botsCanWin
check (da52a54) - Giveaway messages are now merged with the default ones to avoid issues like #122 (bedd3de)
Changed
giveaway#content
has been renamed togiveaway#remainingText
(04ce6cd)- Update jsdoc template (8cb8dcb)
Credits
Huge thanks to @Shashank3736, @GreepTheSheep, @DeltaCoderr, and @NicoHd105 for helping!
4.2.1
Fixed
exemptMembers
functions can now be asynchronous.
4.2.0
Added
Fixed
- Giveaways with a broken
exemptMembers
function can now be ended (it will accept all the members) (13e6455) Manager#delete()
has been fixed when it was used with a custom database. (2d42724)- Giveaways are now deleted from the database if the message has been deleted. (abfd7ae)
reaction
parameter was added togiveawayReactionRemoved
event. (097c2ec)giveawayReactionAdded
andgiveawayReactionRemoved
are now triggered for custom reactions. (#69)