Add files via upload

This commit is contained in:
Rodrigo Emanuel
2025-05-14 18:53:08 -03:00
committed by GitHub
parent f4bb81b5d8
commit 6210db375d
7 changed files with 186 additions and 23 deletions

View File

@@ -110,6 +110,8 @@ async function kofiReSubMessage(data) {
const {
from : userName,
amount,
currency,
tier,
message: text
} = data;
@@ -117,9 +119,12 @@ async function kofiReSubMessage(data) {
const userID = createRandomString(40);
const messageID = createRandomString(40);
var money = formatCurrency(amount,currency);
const [avatar, message] = await Promise.all([
'',
currentLang.kofi.resub({
money: money,
tier: tier,
message: text
}),
@@ -147,7 +152,6 @@ async function kofiOrderMessage(data) {
from : userName,
amount,
currency,
message: text,
items
} = data;