From aa6430659c3db82153273f569bdb319b75a58aae Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Thu, 23 Apr 2020 09:43:55 +0200 Subject: [PATCH] hotfix: use Manager#markAsEnded() --- src/Giveaway.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Giveaway.js b/src/Giveaway.js index df819670..e42ce029 100644 --- a/src/Giveaway.js +++ b/src/Giveaway.js @@ -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();