Skip to content

Commit b589ebc

Browse files
committed
updated donate prompt and frequency
1 parent 763ec56 commit b589ebc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/http/post-index/helpers.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ const shouldAskForSupport = () => {
191191

192192
// To double the probability, use 5 (5 & 10). Or to triple, use 3 (3, 6, 9).
193193
// For upsell in 1 out 10 requests, using 7 (default) since 7 is a prime number
194-
if (Math.ceil(Math.random() * 10) % 7 === 0) return true;
194+
if (Math.ceil(Math.random() * 10) % 5 === 0) return true;
195195
else return false;
196196

197197
// hard return for testing
@@ -204,11 +204,13 @@ exports.appendAskForSupport = (downloadObject) => {
204204
downloadObject["sellLink"] =
205205
"https://support-tvdl.saifalfalah.workers.dev/";
206206
downloadObject["sellMessage"] =
207-
"Thank you for using TVDL. If you like this shortcut, please consider helping me by supporting this shortcut.";
207+
"Happy Holidays! Please donate a small amount to support this shortcut! 🙏";
208+
// downloadObject["sellMessage"] =
209+
// "Thank you for using TVDL. If you like this shortcut, please consider helping me by supporting this shortcut.";
208210
downloadObject["declineMessage"] =
209-
"If you dislike this donation prompt, you can download a version of this shortcut without it, at www.tvdl.app. Thank you!";
210-
downloadObject["yesPrompt"] = "Yes, I will support 😀";
211-
downloadObject["noPrompt"] = "No, I will not 🙁";
211+
"If you have already donated, you can download TVDL - No Donation Edition, at www.tvdl.app. Thank you!";
212+
downloadObject["yesPrompt"] = "Yes, I will support 👍😁";
213+
downloadObject["noPrompt"] = "No, I will not 👎";
212214
} else downloadObject["sell"] = false;
213215
// add url of the website where to redirect users for upsell
214216
return downloadObject;

0 commit comments

Comments
 (0)