require('dotenv').config(); const { Client, GatewayIntentBits } = require('discord.js'); const cron = require('node-cron'); const client = new Client({ intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent ] }); // Tempat menyimpan daftar alarm/penanda jam sementara let daftarAlarm = []; client.once('ready', () => { console.log(`Mantap! ${client.user.tag} udah online!`); // Mengecek alarm setiap 1 menit (Menggunakan Waktu Lokal HP) cron.schedule('* * * * *', () => { const sekarang = new Date(); const jamSekarang = String(sekarang.getHours()).padStart(2, '0'); const menitSekarang = String(sekarang.getMinutes()).padStart(2, '0'); const waktuSekarang = `${jamSekarang}:${menitSekarang}`; // Cari apakah ada alarm yang cocok dengan waktu sekarang const alarmCocok = daftarAlarm.filter...
Postingan
Style langgam psr s
- Dapatkan link
- X
- Aplikasi Lainnya
style langgam slendro https://drive.google.com/file/d/1Gcrrre6HdMsvmXe9DDShuUswTiBlx9hO/view?usp=drivesdk langgam pelog 6 https://drive.google.com/file/d/1GcaNbNz5_plqwqPH0nKQunKk_knCAQZd/view?usp=drivesdk langgam BRG ⬇️⬇️ https://drive.google.com/file/d/1Gdz-T26QAcMRZ6p2wsnlYZQwIGXeT596/view?usp=drivesdk