AtlantaBot
AtlantaBot copied to clipboard
⬆️ Bump discord-giveaways from 4.5.1 to 5.0.1
Bumps discord-giveaways from 4.5.1 to 5.0.1.
Release notes
Sourced from discord-giveaways's releases.
5.0.1
Fixed
- Fix bug with check giveaway function. (4dc26e6e15782d864f520a552043aa99f4a377fb)
- Fix some bugs with message length limit. (6a6b8bcff951ed9e158c032383585c886f06e210)
- Some fixes to docs.
- Some fixes related to the mongoose example.
5.0.0
Thank you for using Discord Giveaways!
Breaking 💥
- Discord.js v13 is now required to use Discord Giveaways.
- Node.js v16 is now required (both by Discord Giveaways v5 and Discord.js v13).
- The casing of thingID properties has been changed to thingId. (b2941bc8b605d1253f5ab4537986d047bbc2e732)
- The
updateCountdownEveryproperty has been removed, as the embeds don't need updates (because we moved to Discord Timestamps). You can still use the newforceUpdateEveryoption if you need to force edits of the embed at a specific interval. (5844ba5)GUILD_MESSAGE_REACTIONSintent is now required. (0cf4298742d8997f79febb912a875be026260958)lastChance.secondsBeforeLastChanceoption has been renamed tolastChance.threshold. (87d5eb4c7ec7e2e2bf28b77b6a84fd2bb4eeb332)Giveaway#giveawayDurationgetter has been renamed toGiveaway#duration. (67fcc9e0a075ec46d538dd05fac943133c3151ec)Giveaway#channelgetter has been removed. (235f9d1a9f3e03d842c9be3a76120c7d89b38145)Giveaway#timehas been renamed toGiveaway#duration. (a2f7025)- Discord Giveaways now uses Discord Timestamps instead of editing the message over and over. (fd471d4541d249ba656cf645e07b4bd289c02622)
Giveaway#messageshas received a lot of changes/improvements. Check them our here.messages.timeRemaininghas been replaced bymessages.drawingfor the timestamp change. (fd471d4541d249ba656cf645e07b4bd289c02622)messages.unitsobject has been removed because of the timestamp change. (fd471d4541d249ba656cf645e07b4bd289c02622)Additions :sparkles:
- New drops feature. (#224)
- New
Giveaway#pause()andGiveaway#unpause()methods. (#269 )- New
newLastChanceoption for theGiveaway#edit()method. (cd49a750784aff8d90a049741bfd340b1e4ec434)- Add support for custom thumbnails in embeds. (a5b4f5ecb60f30e027da759dfd1d1b2e7a2cd53d)
- Add support for custom footer objects in embeds. (35ec38f75cc0f9e5259b5505892adfe807099674)
- Add support for thread channels. (#336)
- New
newLastChanceoption for edit method. (#336)- New
noWinnerMessageoption for end method. (299a32e275eccae842ba8e4ced5b14733a193ac3)- New
allowedMentionsoption for thestart()method. (#318)- New way to access giveaway properties in messages. For example, you can now specify
Congrats, you won the giveaway started by {this.hostedBy}!. (ca9a41a)- Add support for sending a embed instead of, or with the normal message for: start(winMessage), reroll(messages) and end(noWinnerMessage). (ca9a41a)
Important bug fixes 🚑
- All the reactions are now fetched (and not only the last 100 ones). (#254)
Giveaway#end()method now returns the winners. (302cfbd6060c157adf61543649fb12b68e13a23b)General improvements 🏗️
- Remove useless requests to Discord. (0bbf272)
Giveaway#edit()method now updates the message once it's called. (b984859634b6ffa82d7d1b3f43749944e66e46f7)
... (truncated)
Commits
fbf9e1b:bookmark: v5.0.1c0bb914✨ mongoose - comment is not needed anymored26570e🐛 reamde - use const over let2b1f829typo6a6b8bc🐛 fill strings before embed limit checking0e8b48cimprove fillInEmbedf1076dfmongoose - improve examplee982fd0🐛 remove promotion from embedFooter message4dc26e6fix - return early if no message for regural case35f61f4mongoose - use lean() for performance- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)