From 4f5c680364f20075c496d24f63c7d6d4f4495a05 Mon Sep 17 00:00:00 2001 From: Dhimas Bagus Prayoga Date: Thu, 21 Jan 2021 12:00:07 +0700 Subject: [PATCH] Add owner --- command/sticker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/sticker.js b/command/sticker.js index 3cd97b0..4ba846c 100644 --- a/command/sticker.js +++ b/command/sticker.js @@ -7,7 +7,7 @@ module.exports = { aliases: ['s', 'st'], description: 'Untuk menyimpan note atau catatan di group\nPenggunaan: !notes ', async execute (client, chat, pesan, args) { - if (!client.isPmium) return client.reply(pesan.error.premium) + if (!client.isPmium && !client.isOwner) return client.reply(pesan.error.premium) const encmedia = client.isQuotedImage ? JSON.parse(JSON.stringify(chat).replace('quotedM', 'm')).message.extendedTextMessage.contextInfo : chat const media = await client.downloadAndSaveMediaMessage(encmedia) ranw = getRandom('.webp')