Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
spbRusty authored Aug 26, 2024
1 parent f11744c commit e6769cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ function resetGame() {
startNextRound();
}

document.getElementById('donate-button').onclick = function() {
// Используем Telegram Web Apps API для взаимодействия с ботом
Telegram.WebApp.sendData('/pay'); // Отправляем команду на донат
};


particlesJS("particles-js", {
"particles": {
"number": {
Expand Down

0 comments on commit e6769cc

Please sign in to comment.