Skip to content

Commit

Permalink
hotfix: use Manager#markAsEnded()
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Apr 23, 2020
1 parent e218ef5 commit aa64306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Giveaway.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class Giveaway extends EventEmitter {
.replace('{winners}', formattedWinners)
.replace('{prize}', this.prize)
);
this._markAsEnded(this.messageID);
this.manager._markAsEnded(this.messageID);
resolve(winners);
} else {
let embed = this.manager.v12 ? new Discord.MessageEmbed() : new Discord.RichEmbed();
Expand Down

0 comments on commit aa64306

Please sign in to comment.