Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump discord-giveaways from 4.5.1 to 5.0.1 #561

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 6, 2021

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 updateCountdownEvery property has been removed, as the embeds don't need updates (because we moved to Discord Timestamps). You can still use the new forceUpdateEvery option if you need to force edits of the embed at a specific interval. (5844ba5)
  • GUILD_MESSAGE_REACTIONS intent is now required. (0cf4298742d8997f79febb912a875be026260958)
  • lastChance.secondsBeforeLastChance option has been renamed to lastChance.threshold. (87d5eb4c7ec7e2e2bf28b77b6a84fd2bb4eeb332)
  • Giveaway#giveawayDuration getter has been renamed to Giveaway#duration. (67fcc9e0a075ec46d538dd05fac943133c3151ec)
  • Giveaway#channel getter has been removed. (235f9d1a9f3e03d842c9be3a76120c7d89b38145)
  • Giveaway#time has been renamed to Giveaway#duration. (a2f7025)
  • Discord Giveaways now uses Discord Timestamps instead of editing the message over and over. (fd471d4541d249ba656cf645e07b4bd289c02622)
  • Giveaway#messages has received a lot of changes/improvements. Check them our here.
  • messages.timeRemaining has been replaced by messages.drawing for the timestamp change. (fd471d4541d249ba656cf645e07b4bd289c02622)
  • messages.units object has been removed because of the timestamp change. (fd471d4541d249ba656cf645e07b4bd289c02622)

Additions ✨

  • New drops feature. (#224)
  • New Giveaway#pause() and Giveaway#unpause() methods. (#269 )
  • New newLastChance option for the Giveaway#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 newLastChance option for edit method. (#336)
  • New noWinnerMessage option for end method. (299a32e275eccae842ba8e4ced5b14733a193ac3)
  • New allowedMentions option for the start() 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 🔖 v5.0.1
  • c0bb914 ✨ mongoose - comment is not needed anymore
  • d26570e 🐛 reamde - use const over let
  • 2b1f829 typo
  • 6a6b8bc 🐛 fill strings before embed limit checking
  • 0e8b48c improve fillInEmbed
  • f1076df mongoose - improve example
  • e982fd0 🐛 remove promotion from embedFooter message
  • 4dc26e6 fix - return early if no message for regural case
  • 35f61f4 mongoose - use lean() for performance
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [discord-giveaways](https://github.com/Androz2091/discord-giveaways) from 4.5.1 to 5.0.1.
- [Release notes](https://github.com/Androz2091/discord-giveaways/releases)
- [Commits](Androz2091/discord-giveaways@v4.5.1...v5.0.1)

---
updated-dependencies:
- dependency-name: discord-giveaways
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 6, 2021
@dependabot dependabot bot requested a review from Androz2091 September 6, 2021 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants