Skip to content

Commit

Permalink
Add owner
Browse files Browse the repository at this point in the history
  • Loading branch information
Kry9toN committed Jan 21, 2021
1 parent 814d975 commit 4f5c680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/sticker.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
aliases: ['s', 'st'],
description: 'Untuk menyimpan note atau catatan di group\nPenggunaan: !notes <save/remove> <key> <value>',
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')
Expand Down

0 comments on commit 4f5c680

Please sign in to comment.