Skip to content

Releases: Androz2091/discord-giveaways

4.1.6

27 May 10:28
Compare
Choose a tag to compare

Fixed

  • Fix workflow that publishes the package to GitHub packages. (0462895)
  • Try to fix typings that are not uploaded to npm (ed8c445)

4.1.5

27 May 10:14
Compare
Choose a tag to compare
  • Add typings for TypeScript support (#56)

4.1.4

26 May 12:41
Compare
Choose a tag to compare

Fixed

  • Add a workflow to publish the package on npmjs.com when a release is created. (af39cba)
  • Giveaways are now marked as ended when the embed is edited. (5a068d6)

4.1.3

26 May 09:54
Compare
Choose a tag to compare

The files published on NPM were wrong... (#54)

4.1.2

25 May 20:09
Compare
Choose a tag to compare

Added

  • All the JSDoc documentation of the package was rewritten. (40ce654)

Fixed

  • JSDoc deploy workflow is now working, the issue with duplicated classes is fixed. (9daf060)

4.1.1

23 May 11:04
Compare
Choose a tag to compare

Fixed

  • edit(), reroll() and end() GiveawaysManager methods are now returning promises. (#48)
  • Removed a warning message that could spam your logs. (#49)
  • giveawayReactionAdded event is no longer emitted for ended giveaways. (#50)

4.1.0

27 Apr 14:16
Compare
Choose a tag to compare

Added

4.0.2

23 Apr 16:03
Compare
Choose a tag to compare

Fixed

  • Fix a bug that occurred when using the edit() method with the addTime property. (a68057d)

4.0.1

23 Apr 07:45
Compare
Choose a tag to compare

Fixed

  • Fix a bug that occurred if no winners were found. (aa64306)

4.0.0

22 Apr 12:28
e218ef5
Compare
Choose a tag to compare

Breaking changes

  • end event was renamed to giveawayEnded. (647eb30)

Added

  • Add guildID property to Giveaway. (d9124e7)
  • Add hostedBy option to ManagerOptions. (adbe1e4)
  • Supports Discord.js Managers. (a82f7ab)
  • Add new Giveaway#end() method. (647eb30)
  • Add support for custom database. (f1d1878)
  • Add new giveawayReactionAdded event. (cfe9932)
  • Add new giveawayReactionRemoved event. (cfe9932)
  • Add support for shards. (18da1f8)

Fixed

  • Fix units for documentation. (2983feb)
  • Parse winner count using parseInt(). (d5708f8)
  • exemptPermissions option is now empty by default. (f85fe0a)