From cc5d242cb13a73a823b1bf726adf0102dadcd55c Mon Sep 17 00:00:00 2001 From: Nico105 <63612668+Nico105@users.noreply.github.com> Date: Thu, 29 Apr 2021 06:54:13 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20fix=20lastChance=20typos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src/Constants.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb78636c..05423b8f 100644 --- a/README.md +++ b/README.md @@ -286,7 +286,7 @@ client.giveawaysManager.start(message.channel, { lastChance: { enabled: true, content: '⚠️ **LAST CHANCE TO ENTER !** ⚠️', - secondsBeforeLastChance: 5000, + threshold: 5000, embedColor: '#FF0000' } }) diff --git a/src/Constants.js b/src/Constants.js index 2392615d..0774eea4 100644 --- a/src/Constants.js +++ b/src/Constants.js @@ -84,7 +84,7 @@ exports.BonusEntry = {}; * @property {boolean} [enabled] Whether the last chance system is enabled * @property {string} [content] The text of the embed when last chance is enabled * @property {number} [threshold] The number of ms after which the last chance system will be enabled - * @property {string} [lastChance.embedColor] The color of the embed when last chance is enabled + * @property {string} [embedColor] The color of the embed when last chance is enabled */ exports.LastChanceOptions = { enabled: false,