trashfernand

This commit is contained in:
2024-09-17 13:46:05 +02:00
parent 7de2664167
commit c78b3a43ac
2 changed files with 95 additions and 1 deletions

View File

@@ -601,7 +601,19 @@ document.addEventListener('DOMContentLoaded', () => {
document.getElementById('game-text').textContent = gameState.game_text;
}
const starsContainer = document.getElementById('stars');
for (let i = 0; i < 500; i++) {
const star = document.createElement('div');
star.className = 'star';
star.style.width = `${Math.random() * 3}px`;
star.style.height = star.style.width;
star.style.left = `${Math.random() * 100}%`;
star.style.top = `${Math.random() * 100}%`;
star.style.animationDuration = `${Math.random() * 2 + 1}s`;
starsContainer.appendChild(star);
}
// Détection de la commande /s username
function sendStatsCommand(targetUser) {
console.log(`Detected stats command for user: ${targetUser}`);