diff --git a/plugins/sticker-brat.js b/plugins/sticker-brat.js index eda6c97..0254d79 100644 --- a/plugins/sticker-brat.js +++ b/plugins/sticker-brat.js @@ -5,11 +5,7 @@ let handler = async (m, { conn, text, usedPrefix, command }) => { if (!text) throw 'Masukkan teks!'; try { - let res = await fetch(`https://api.ryzendesu.vip/api/sticker/v2/brat?text=${encodeURIComponent(text)}`); - - if (!res.ok) { - res = await fetch(`https://api.ryzendesu.vip/api/sticker/brat?text=${encodeURIComponent(text)}`); - } + let res = await fetch(`https://api.ryzendesu.vip/api/sticker/brat?text=${encodeURIComponent(text)}`); if (!res.ok) throw 'Gagal mengambil gambar dari kedua API!';