case 'setpppanjang': {
if (!isCreator) return reply('❌ Lu bukan owner, gabisa pake perintah ini!');
let q = m.quoted ? m.quoted : m;
let mime = (q.msg || q).mimetype || '';
if (!/image/.test(mime)) return reply('❌ Kirim atau reply gambar buat dijadiin foto profil!');
reply('⏳ Lagi update foto profil...');
try {
let media = await q.download();
await Danzz.updateProfilePicture(Danzz.user.id, media);
reply('✅ Berhasil update foto profil!');
} catch (err) {
console.error(err);
reply('❌ Gagal update foto profil, coba lagi nanti!');
}
}
break;
cuma test aja hehe
hai gw Xyroo🗿